2023-03-17 15:09:31 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
|
|
|
|
project(bluetooth_ascs)
|
|
|
|
find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE})
|
|
|
|
|
|
|
|
add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/audio/ascs/uut uut)
|
|
|
|
|
|
|
|
target_link_libraries(testbinary PRIVATE uut)
|
|
|
|
|
2023-03-28 16:19:01 +08:00
|
|
|
target_include_directories(testbinary PRIVATE include)
|
|
|
|
|
2023-03-17 15:09:31 +08:00
|
|
|
target_sources(testbinary
|
|
|
|
PRIVATE
|
|
|
|
src/main.c
|
2023-04-05 15:12:04 +08:00
|
|
|
src/test_ase_control_params.c
|
2023-04-07 17:14:33 +08:00
|
|
|
src/test_ase_state_transition_invalid.c
|
2023-03-28 16:19:01 +08:00
|
|
|
src/test_ase_state_transition.c
|
|
|
|
src/test_common.c
|
2023-03-17 15:09:31 +08:00
|
|
|
)
|