OVMS3-idf/components/tcp_transport/CMakeLists.txt
David Cermak 40c6cbb3ab tcp_transport: renamed transport related header files to esp_ prefixed to avoid collisions
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
2018-10-02 14:15:00 +02:00

19 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()