esp-idf/components/tcp_transport/CMakeLists.txt

16 lines
349 B
CMake

set(srcs
"transport.c"
"transport_ssl.c"
"transport_tcp.c"
"transport_utils.c")
if(CONFIG_WS_TRANSPORT)
list(APPEND srcs
"transport_ws.c")
endif()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "private_include"
REQUIRES lwip esp-tls)