mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
20 lines
415 B
CMake
20 lines
415 B
CMake
set(srcs
|
|
"transport.c"
|
|
"transport_ssl.c"
|
|
"transport_internal.c")
|
|
|
|
if(CONFIG_WS_TRANSPORT)
|
|
list(APPEND srcs
|
|
"transport_ws.c")
|
|
endif()
|
|
|
|
set(req esp-tls)
|
|
if(NOT ${IDF_TARGET} STREQUAL "linux")
|
|
list(APPEND req lwip)
|
|
endif()
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
|
INCLUDE_DIRS "include"
|
|
PRIV_INCLUDE_DIRS "private_include"
|
|
REQUIRES ${req})
|