zephyr/subsys/bluetooth/CMakeLists.txt

11 lines
360 B
CMake

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_CTLR controller)
add_subdirectory_ifdef(CONFIG_BT_SHELL shell)
target_link_libraries(subsys__bluetooth INTERFACE zephyr_interface)