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

23 lines
531 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE})
project(bluetooth_ascs)
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
)