zephyr/subsys/bluetooth/services/CMakeLists.txt

27 lines
470 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_BT_DIS dis.c)
zephyr_sources_ifdef(CONFIG_BT_CTS cts.c)
zephyr_sources_ifdef(CONFIG_BT_HRS hrs.c)
zephyr_sources_ifdef(CONFIG_BT_TPS tps.c)
if(CONFIG_BT_BAS)
add_subdirectory(bas)
endif()
if(CONFIG_BT_OTS OR CONFIG_BT_OTS_CLIENT)
add_subdirectory(ots)
endif()
if(CONFIG_BT_IAS OR CONFIG_BT_IAS_CLIENT)
add_subdirectory(ias)
endif()
if(CONFIG_BT_ZEPHYR_NUS)
add_subdirectory(nus)
endif()