esp-idf/components/tcp_transport/CMakeLists.txt
Euripedes Rocha d6db90a3cd [tcp_transport] - Adds Socks4 proxy transport
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00

25 lines
503 B
CMake

set(srcs
"transport.c"
"transport_ssl.c"
"transport_internal.c")
if(CONFIG_LWIP_IPV4)
list(APPEND srcs
"transport_socks_proxy.c")
endif()
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 esp_timer)
endif()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "private_include"
REQUIRES ${req})