mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-06 01:08:02 +00:00
With the introduction of ZephyrConfig.cmake all parts of CMake code should rely on the CMake ZEPHYR_BASE variable instead of the environment setting. This ensures that after the first CMake invocation, then all subsequent invocation in same build folder will use same zephyr base. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
9 lines
220 B
CMake
9 lines
220 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_subdirectory_if_kconfig(ztest)
|
|
|
|
zephyr_include_directories_ifdef(CONFIG_TEST
|
|
${ZEPHYR_BASE}/subsys/testsuite/include
|
|
)
|
|
add_subdirectory_ifdef(CONFIG_COVERAGE_GCOV coverage)
|