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)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2018-06-26 20:03:34 +08:00
|
|
|
if(CONFIG_BT_CTLR)
|
2019-07-16 23:47:17 +08:00
|
|
|
if(CONFIG_BT_LL_SW_LEGACY OR CONFIG_BT_LL_SW_SPLIT)
|
2018-06-26 20:03:34 +08:00
|
|
|
add_subdirectory(controller)
|
|
|
|
endif()
|
|
|
|
endif()
|