Add conditional compilation and move code to support building a non-connectable Bluetooth shell application. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
8 lines
257 B
CMake
8 lines
257 B
CMake
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(NONE)
|
|
|
|
zephyr_library_include_directories($ENV{ZEPHYR_BASE}/samples/bluetooth)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
target_sources_ifdef(CONFIG_BT_CONN app PRIVATE src/hrs.c)
|