zephyr/samples/bluetooth/peripheral/CMakeLists.txt

13 lines
293 B
CMake

cmake_minimum_required(VERSION 3.8.2)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(peripheral)
target_sources(app PRIVATE
src/main.c
../gatt/hrs.c
../gatt/bas.c
../gatt/cts.c
)
zephyr_library_include_directories($ENV{ZEPHYR_BASE}/samples/bluetooth)