33592e8aa8
Depending on a path inside the Zephyr tree to determine if we are a test does not scale. Also some samples were marked as TEST while they are not, just to get some options defined for tests. Idenitfying a test will be addressed in another patch introducing CONFIG_TEST. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
12 lines
302 B
CMake
12 lines
302 B
CMake
set(QEMU_EXTRA_FLAGS -s)
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(NONE)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
target_sources_ifdef(CONFIG_BOARD_BBC_MICROBIT app PRIVATE src/microbit.c)
|
|
|
|
if(NODE_ADDR)
|
|
zephyr_compile_definitions(NODE_ADDR=${NODE_ADDR})
|
|
endif()
|