1# SPDX-License-Identifier: Apache-2.0 2 3add_library(subsys__bluetooth INTERFACE) 4 5target_include_directories(subsys__bluetooth INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 6 7add_subdirectory(common) 8add_subdirectory_ifdef(CONFIG_BT_HCI host) 9add_subdirectory_ifdef(CONFIG_BT_SHELL shell) 10add_subdirectory_ifdef(CONFIG_BT_CONN services) 11add_subdirectory_ifdef(CONFIG_BT_MESH mesh) 12add_subdirectory_ifdef(CONFIG_BT_AUDIO audio) 13add_subdirectory_ifdef(CONFIG_BT_CRYPTO crypto) 14 15if(CONFIG_BT_CTLR AND CONFIG_BT_LL_SW_SPLIT) 16 add_subdirectory(controller) 17endif() 18 19zephyr_include_directories(${ZEPHYR_BASE}/subsys/bluetooth) 20 21add_subdirectory(lib) 22