zephyr/subsys/shell/CMakeLists.txt
Carles Cufi 7d764b35f3 cmake: Use path-corrected version of ZEPHYR_BASE
Instead of accessing the environment variable ZEPHYR_BASE every time we
require accessing the source code root, use an intermediate variable
that has OS path separators correctly set to '/' to avoid issues on
Windows.

Note: This removes the ZEPHYR_SOURCE_DIR CMake variable. External
applications using that will need to change to use the new ZEPHYR_BASE
variable.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2018-01-11 14:59:03 -05:00

11 lines
167 B
CMake

zephyr_include_directories_ifdef(CONFIG_CONSOLE_SHELL
${ZEPHYR_BASE}/include/drivers
)
zephyr_sources(
shell_service.c
shell.c
)
add_subdirectory(modules)