1# 2# Copyright (c) 2023-2024 Nordic Semiconductor ASA 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6# CMakeLists.txt file for creating of uut library. 7# 8 9add_library(uut STATIC 10 ${ZEPHYR_BASE}/subsys/bluetooth/audio/audio.c 11 ${ZEPHYR_BASE}/subsys/bluetooth/audio/bap_iso.c 12 ${ZEPHYR_BASE}/subsys/bluetooth/audio/bap_stream.c 13 ${ZEPHYR_BASE}/subsys/bluetooth/audio/cap_initiator.c 14 ${ZEPHYR_BASE}/subsys/bluetooth/audio/cap_common.c 15 ${ZEPHYR_BASE}/subsys/bluetooth/audio/cap_stream.c 16 ${ZEPHYR_BASE}/subsys/bluetooth/audio/ccid.c 17 ${ZEPHYR_BASE}/subsys/bluetooth/common/bt_str.c 18 ${ZEPHYR_BASE}/subsys/bluetooth/host/uuid.c 19 ${ZEPHYR_BASE}/subsys/logging/log_minimal.c 20 ${ZEPHYR_BASE}/lib/net_buf/buf_simple.c 21 bap_unicast_client.c 22 cap_initiator.c 23 csip.c 24) 25 26add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/audio/mocks mocks) 27 28target_link_libraries(uut PUBLIC test_interface mocks) 29target_include_directories(uut PRIVATE ${ZEPHYR_BASE}/tests/bluetooth/audio/cap_initiator/include) 30 31target_compile_options(uut PRIVATE -std=c11 -include ztest.h) 32