esp_https_server: Add support for esp-tls server APIs

This commit is contained in:
Jitin George
2019-05-28 16:55:49 +05:30
committed by bot
parent 8950f94ec7
commit a8ebde227f
4 changed files with 79 additions and 64 deletions

View File

@@ -1,4 +1,10 @@
idf_component_register(SRCS "src/https_server.c"
INCLUDE_DIRS "include"
REQUIRES esp_http_server openssl
if (CONFIG_ESP_HTTPS_SERVER_ENABLE)
set(src "src/https_server.c")
set(inc "include")
endif()
idf_component_register(SRCS ${src}
INCLUDE_DIRS ${inc}
REQUIRES esp_http_server esp-tls
PRIV_REQUIRES lwip)