2021-04-16 05:23:18 -04:00
|
|
|
if(NOT CONFIG_WS_TRANSPORT AND NOT CMAKE_BUILD_EARLY_EXPANSION)
|
|
|
|
message(STATUS "Websocket transport is disabled so the esp_websocket_client component will not be built")
|
|
|
|
# note: the component is still included in the build so it can become visible again in config
|
|
|
|
# without needing to re-run CMake. However no source or header files are built.
|
|
|
|
idf_component_register()
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2019-04-28 03:38:46 -04:00
|
|
|
idf_component_register(SRCS "esp_websocket_client.c"
|
|
|
|
INCLUDE_DIRS "include"
|
2021-12-31 03:20:55 -05:00
|
|
|
REQUIRES lwip esp-tls tcp_transport http_parser
|
2020-02-06 01:00:18 -05:00
|
|
|
PRIV_REQUIRES esp_timer)
|