zephyr/samples/bluetooth/hap_ha/CMakeLists.txt

27 lines
582 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(hap_ha)
target_sources(app PRIVATE
src/bap_unicast_sr.c
src/has_server.c
src/main.c
src/vcp_vol_renderer.c
)
target_sources_ifdef(CONFIG_HAP_HA_HEARING_AID_BINAURAL app PRIVATE
src/csip_set_member.c
)
target_sources_ifdef(CONFIG_BT_ASCS_ASE_SRC app PRIVATE
src/micp_mic_dev.c
)
target_sources_ifdef(CONFIG_BT_TBS_CLIENT app PRIVATE
src/ccp_call_ctrl.c
)
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)