1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
6project(central)
7
8FILE(GLOB app_sources src/*.c)
9target_sources(app PRIVATE ${app_sources} )
10
11# This contains babblesim-specific helpers, e.g. device synchronization.
12add_subdirectory(${ZEPHYR_BASE}/tests/bsim/babblekit babblekit)
13target_link_libraries(app PRIVATE babblekit)
14
15zephyr_include_directories(
16  ${BSIM_COMPONENTS_PATH}/libUtilv1/src/
17  ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/
18  )
19
20add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/common/testlib testlib)
21target_link_libraries(app PRIVATE
22  testlib
23)
24