1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
6
7project(hfc_multilink)
8
9# This contains a variety of helper functions that abstract away common tasks,
10# like scanning, setting up a connection, querying the peer for a given
11# characteristic, etc..
12add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/common/testlib testlib)
13target_link_libraries(app PRIVATE testlib)
14
15# This contains babblesim-specific helpers, e.g. device synchronization.
16add_subdirectory(${ZEPHYR_BASE}/tests/bsim/babblekit babblekit)
17target_link_libraries(app PRIVATE babblekit)
18
19zephyr_include_directories(
20  ../
21  ${BSIM_COMPONENTS_PATH}/libUtilv1/src/
22  ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/
23)
24
25target_sources(app PRIVATE
26  src/main.c
27  src/dut.c
28)
29