1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE}) 6 7project(bluetooth_cap_commander) 8 9add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/audio/cap_commander/uut uut) 10 11target_link_libraries(testbinary PRIVATE uut) 12 13target_include_directories(testbinary PRIVATE include) 14 15target_sources(testbinary 16 PRIVATE 17 src/main.c 18 src/test_common.c 19 src/test_vcp.c 20 src/test_micp.c 21 src/test_broadcast_reception.c 22 src/test_distribute_broadcast_code.c 23) 24