2021-04-16 09:23:18 +00:00
|
|
|
set(srcs
|
|
|
|
"transport.c"
|
|
|
|
"transport_ssl.c"
|
2022-04-21 15:41:58 +00:00
|
|
|
"transport_internal.c")
|
2021-04-16 09:23:18 +00:00
|
|
|
|
|
|
|
if(CONFIG_WS_TRANSPORT)
|
|
|
|
list(APPEND srcs
|
|
|
|
"transport_ws.c")
|
|
|
|
endif()
|
|
|
|
|
2022-11-08 08:54:17 +00:00
|
|
|
set(req esp-tls)
|
|
|
|
if(NOT ${IDF_TARGET} STREQUAL "linux")
|
|
|
|
list(APPEND req lwip)
|
|
|
|
endif()
|
|
|
|
|
2021-04-16 09:23:18 +00:00
|
|
|
idf_component_register(SRCS "${srcs}"
|
2019-04-16 09:58:38 +00:00
|
|
|
INCLUDE_DIRS "include"
|
2019-08-06 03:00:37 +00:00
|
|
|
PRIV_INCLUDE_DIRS "private_include"
|
2022-11-08 08:54:17 +00:00
|
|
|
REQUIRES ${req})
|