1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH}) 6 message(FATAL_ERROR "This test requires the BabbleSim simulator. Please set \ 7 the environment variable BSIM_COMPONENTS_PATH to point to its \ 8 components folder. More information can be found in \ 9 https://babblesim.github.io/folder_structure_and_env.html") 10endif() 11 12find_package(Zephyr HINTS $ENV{ZEPHYR_BASE}) 13project(bsim_test_ccc_store) 14 15target_sources(app PRIVATE 16 src/main.c 17 src/common.c 18 19 src/central.c 20 src/peripheral.c 21) 22 23zephyr_include_directories( 24 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/ 25 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/ 26 27 ${ZEPHYR_BASE}/subsys/bluetooth/host/ 28) 29