zephyr/tests/ztest/CMakeLists.txt

9 lines
255 B
CMake

zephyr_include_directories(
$ENV{ZEPHYR_BASE}/tests/include
$ENV{ZEPHYR_BASE}/tests/ztest/include
)
zephyr_library()
zephyr_library_sources( src/ztest.c)
zephyr_library_sources_ifdef(CONFIG_ZTEST_MOCKING src/ztest_mock.c)