zephyr/samples/bluetooth/mesh_demo/CMakeLists.txt

14 lines
382 B
CMake

set(QEMU_EXTRA_FLAGS -serial unix:/tmp/bt-server-bredr -s)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(NONE)
target_link_libraries(app subsys__bluetooth)
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()