zephyr/subsys/shell/CMakeLists.txt
Jakub Rzeszutko f29d46ac4a shell: add a directory for backends
This change organizes the file structure for the shell.
Files implementing backends are moved to a separate folder.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2021-11-08 11:07:49 -05:00

43 lines
596 B
CMake

# SPDX-License-Identifier: Apache-2.0
add_subdirectory(modules)
add_subdirectory(backends)
zephyr_sources_ifdef(
CONFIG_SHELL
shell.c
shell_fprintf.c
shell_utils.c
shell_ops.c
)
zephyr_sources_ifdef(
CONFIG_SHELL_LOG_BACKEND
shell_log_backend.c
)
zephyr_sources_ifdef(
CONFIG_SHELL_HELP
shell_help.c
)
zephyr_sources_ifdef(
CONFIG_SHELL_GETOPT
shell_getopt.c
)
zephyr_sources_ifdef(
CONFIG_SHELL_CMDS
shell_cmds.c
)
zephyr_sources_ifdef(
CONFIG_SHELL_HISTORY
shell_history.c
)
zephyr_sources_ifdef(
CONFIG_SHELL_WILDCARD
shell_wildcard.c
)