mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
tcp_transport component used public header files such as 'transport.h', etc. which are too generic and might collide with user or user libraries headers This change closes #2417
20 lines
500 B
CMake
20 lines
500 B
CMake
set(COMPONENT_SRCS "transport.c"
|
|
"transport_ssl.c"
|
|
"transport_tcp.c"
|
|
"transport_ws.c"
|
|
"transport_utils.c")
|
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
|
|
|
set(COMPONENT_REQUIRES lwip esp-tls)
|
|
|
|
register_component()
|
|
|
|
if(GCC_NOT_5_2_0)
|
|
# Temporary suppress "format-overflow" warning until it is fixed
|
|
set_source_files_properties(
|
|
transport_ws.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-format-overflow)
|
|
endif()
|