zephyr/samples/bluetooth/peripheral_gatt_write/CMakeLists.txt

14 lines
360 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(peripheral_gatt_write)
FILE(GLOB app_sources src/*.c ../central_gatt_write/src/gatt_write_common.c)
target_sources(app PRIVATE
${app_sources}
)
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)