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>
11 lines
167 B
CMake
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)
|