mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d6db90a3cd
- Basic implementation of Socks4 protocol. - Introduce basic host testing.
25 lines
503 B
CMake
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})
|