2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
add_library(subsys__bluetooth INTERFACE)
|
|
|
|
|
|
|
|
target_include_directories(subsys__bluetooth INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
add_subdirectory(common)
|
|
|
|
add_subdirectory_ifdef(CONFIG_BT_HCI host)
|
|
|
|
add_subdirectory_ifdef(CONFIG_BT_SHELL shell)
|
2018-11-01 23:44:52 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_BT_CONN services)
|
2019-07-09 15:33:28 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_BT_MESH mesh)
|
2021-03-19 20:21:04 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_BT_AUDIO audio)
|
2022-10-31 21:58:02 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_BT_CRYPTO bt_crypto)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2020-05-06 16:53:05 +08:00
|
|
|
if(CONFIG_BT_CTLR AND CONFIG_BT_LL_SW_SPLIT)
|
|
|
|
add_subdirectory(controller)
|
2018-06-26 20:03:34 +08:00
|
|
|
endif()
|
2021-08-05 05:22:54 +08:00
|
|
|
|
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/subsys/bluetooth)
|