mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
50b6b674cf
Use single ESP_EXTENSION_IN_OPENTHREAD_CLI config option to enable/disable extended features. It will be pure ot_cli example if it's disabled.
9 lines
245 B
CMake
9 lines
245 B
CMake
set(srcs "esp_ot_cli.c")
|
|
|
|
if(CONFIG_OPENTHREAD_CLI_ESP_EXTENSION)
|
|
list(APPEND srcs "esp_ot_cli_extension.c" "esp_ot_tcp_socket.c" "esp_ot_udp_socket.c")
|
|
endif()
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
|
INCLUDE_DIRS ".")
|