1#
2# Copyright (c) 2023 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/cap_commander.c
12  ${ZEPHYR_BASE}/subsys/bluetooth/audio/cap_common.c
13  ${ZEPHYR_BASE}/subsys/logging/log_minimal.c
14  ${ZEPHYR_BASE}/lib/net_buf/buf_simple.c
15  bap_broadcast_assistant.c
16  aics.c
17  cap_commander.c
18  csip.c
19  micp.c
20  vcp.c
21  vocs.c
22)
23
24add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/audio/mocks mocks)
25
26target_link_libraries(uut PUBLIC test_interface mocks)
27target_include_directories(uut PRIVATE ${ZEPHYR_BASE}/tests/bluetooth/audio/cap_commander/include)
28
29target_compile_options(uut PRIVATE -std=c11 -include ztest.h)
30