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_initiator_self_tets) 7 8set(cap_initiator_path ${ZEPHYR_BASE}/samples/bluetooth/cap_initiator) 9 10target_sources(app PRIVATE 11 ${cap_initiator_path}/src/main.c 12 ${cap_initiator_path}/src/cap_initiator_tx.c 13) 14 15zephyr_sources_ifdef(CONFIG_SAMPLE_UNICAST ${cap_initiator_path}/src/cap_initiator_unicast.c) 16zephyr_sources_ifdef(CONFIG_SAMPLE_BROADCAST ${cap_initiator_path}/src/cap_initiator_broadcast.c) 17 18target_sources(app PRIVATE 19 src/cap_initiator_sample_test.c 20 src/test_main.c 21) 22 23zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth) 24 25zephyr_include_directories( 26 ${BSIM_COMPONENTS_PATH}/libUtilv1/src/ 27 ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/ 28 ) 29