1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4include_directories("./src")
5
6find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
7project(bluetooth_ctrl_user_ext)
8
9zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/bluetooth/controller/)
10
11if(CONFIG_SOC_COMPATIBLE_NRF)
12  zephyr_library_include_directories(
13    ${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
14    ${ZEPHYR_BASE}/subsys/bluetooth/hci/nordic
15  )
16elseif(CONFIG_SOC_OPENISA_RV32M1)
17  zephyr_library_include_directories(
18    ${ZEPHYR_BASE}/bluetooth/controller/ll_sw/openisa
19    ${ZEPHYR_BASE}/bluetooth/hci/openisa
20  )
21endif()
22
23
24FILE(GLOB app_sources src/*.c)
25
26target_sources(app PRIVATE ${app_sources})
27