zephyr/tests/bluetooth/audio/ascs/CMakeLists.txt

22 lines
530 B
CMake

# 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)
target_include_directories(testbinary PRIVATE include)
target_sources(testbinary
PRIVATE
src/main.c
src/test_ase_control_params.c
src/test_ase_state_transition_invalid.c
src/test_ase_state_transition.c
src/test_common.c
)