1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/bluetooth/audio) 6 7if(CONFIG_BT_VCP_VOL_REND) 8 target_sources(app PRIVATE btp_vcp.c) 9endif() 10 11if(CONFIG_BT_BAP_UNICAST OR BT_BAP_BROADCAST_SOURCE OR BT_BAP_BROADCAST_SINK) 12 target_sources(app PRIVATE btp_bap_audio_stream.c btp_bap.c ) 13endif() 14 15if(CONFIG_BT_BAP_UNICAST) 16 target_sources(app PRIVATE btp_bap_unicast.c) 17endif() 18 19if(CONFIG_BT_BAP_BROADCAST_SOURCE OR CONFIG_BT_BAP_BROADCAST_SOURCE) 20 target_sources(app PRIVATE btp_bap_broadcast.c) 21endif() 22 23if(CONFIG_BT_HAS) 24 target_sources(app PRIVATE btp_has.c) 25endif() 26 27if (CONFIG_BT_CSIP_SET_MEMBER) 28 target_sources(app PRIVATE btp_csis.c) 29endif() 30 31if (CONFIG_BT_CSIP_SET_COORDINATOR) 32 target_sources(app PRIVATE btp_csip.c) 33endif() 34 35if(CONFIG_BT_MICP_MIC_DEV) 36 target_sources(app PRIVATE btp_micp.c) 37endif() 38 39if(CONFIG_BT_AICS) 40 target_sources(app PRIVATE btp_aics.c) 41endif() 42 43if (CONFIG_BT_TBS_CLIENT) 44 target_sources(app PRIVATE btp_ccp.c) 45endif() 46 47if (CONFIG_BT_CAP_ACCEPTOR) 48 target_sources(app PRIVATE btp_cas.c) 49endif() 50 51if(CONFIG_BT_MCC OR CONFIG_BT_MCS) 52 target_sources(app PRIVATE btp_mcp.c) 53endif() 54 55if(CONFIG_BT_HAS) 56 target_sources(app PRIVATE btp_hap.c) 57endif() 58 59if(CONFIG_BT_CAP_INITIATOR) 60 target_sources(app PRIVATE btp_cap.c) 61endif() 62 63if(CONFIG_BT_TBS) 64 target_sources(app PRIVATE btp_ccp.c) 65endif() 66 67if(CONFIG_BT_TMAP) 68 target_sources(app PRIVATE btp_tmap.c) 69endif() 70