esp-idf/components/tcp_transport/CMakeLists.txt
Euripedes Rocha 5778a7c726 [tcp_transport] Fix initialition of transport
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-07-14 12:29:58 +00:00

15 lines
330 B
CMake

set(srcs
"transport.c"
"transport_ssl.c"
"transport_internal.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 esp-tls lwip)