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(test_l2cap_einprogress)
8
9add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/common/testlib testlib)
10target_link_libraries(app PRIVATE testlib)
11
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
20target_sources(app PRIVATE
21  src/main.c
22  src/dut.c
23  src/tester.c
24)
25