zephyr/subsys/net/lib/CMakeLists.txt
Jukka Rissanen 56c1bb813f net: shell: Move the shell code to subsys/net/lib/shell
This is preparation commit that moves the net shell code to
subsys/net/lib/shell directory. The following commits will
then refactor the code in net_shell.c to smaller and more
manageable pieces.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2023-10-23 10:40:28 +02:00

29 lines
1 KiB
CMake

# SPDX-License-Identifier: Apache-2.0
add_subdirectory(utils)
add_subdirectory_ifdef(CONFIG_COAP coap)
add_subdirectory_ifdef(CONFIG_LWM2M lwm2m)
add_subdirectory_ifdef(CONFIG_SOCKS socks)
add_subdirectory_ifdef(CONFIG_SNTP sntp)
add_subdirectory_ifdef(CONFIG_MQTT_LIB mqtt)
add_subdirectory_ifdef(CONFIG_MQTT_SN_LIB mqtt_sn)
add_subdirectory_ifdef(CONFIG_TFTP_LIB tftp)
add_subdirectory_ifdef(CONFIG_NET_CONFIG_SETTINGS config)
add_subdirectory_ifdef(CONFIG_NET_SOCKETS sockets)
add_subdirectory_ifdef(CONFIG_TLS_CREDENTIALS tls_credentials)
add_subdirectory_ifdef(CONFIG_NET_CAPTURE capture)
add_subdirectory_ifdef(CONFIG_NET_ZPERF zperf)
add_subdirectory_ifdef(CONFIG_NET_SHELL shell)
if (CONFIG_DNS_RESOLVER
OR CONFIG_MDNS_RESPONDER
OR CONFIG_LLMNR_RESPONDER)
add_subdirectory(dns)
endif()
if(CONFIG_HTTP_PARSER_URL OR CONFIG_HTTP_PARSER OR CONFIG_HTTP_CLIENT)
add_subdirectory(http)
endif()
add_subdirectory_ifdef(CONFIG_WEBSOCKET_CLIENT websocket)