mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 03:25:21 +00:00
This set of functions seem to be there just because of historical reasons, stemming from Kbuild. They are non-obvious and prone to errors, so remove them in favor of the `_ifdef()` ones with an explicit `CONFIG_` condition. Script used: git grep -l _if_kconfig | xargs sed -E -i "s/_if_kconfig\(\s*(\w*)/_ifdef(CONFIG_\U\1\E \1/g" Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
9 lines
228 B
CMake
9 lines
228 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_subdirectory_ifdef(CONFIG_ZTEST ztest)
|
|
|
|
zephyr_include_directories_ifdef(CONFIG_TEST
|
|
${ZEPHYR_BASE}/subsys/testsuite/include
|
|
)
|
|
add_subdirectory_ifdef(CONFIG_COVERAGE_GCOV coverage)
|