1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 6project(cap_acceptor_self_tets) 7 8set(cap_acceptor_path ${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor) 9 10target_sources(app PRIVATE 11 ${cap_acceptor_path}/src/main.c 12) 13 14zephyr_sources_ifdef(CONFIG_SAMPLE_UNICAST ${cap_acceptor_path}/src/cap_acceptor_unicast.c) 15zephyr_sources_ifdef(CONFIG_SAMPLE_BROADCAST ${cap_acceptor_path}/src/cap_acceptor_broadcast.c) 16 17target_sources(app PRIVATE 18 src/cap_acceptor_sample_test.c 19 src/test_main.c 20) 21 22zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth) 23 24zephyr_include_directories( 25 ${BSIM_COMPONENTS_PATH}/libUtilv1/src/ 26 ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/ 27 ) 28