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(bsim_test_mtu_update)
7
8target_include_directories(app PRIVATE src)
9
10target_sources_ifdef(CONFIG_BT_PERIPHERAL app PRIVATE
11  src/main_peripheral.c
12  ${ZEPHYR_BASE}/samples/bluetooth/mtu_update/peripheral/src/peripheral_mtu_update.c
13)
14
15target_sources_ifdef(CONFIG_BT_CENTRAL app PRIVATE
16  src/main_central.c
17  ${ZEPHYR_BASE}/samples/bluetooth/mtu_update/central/src/central_mtu_update.c
18)
19
20zephyr_include_directories(
21  ${BSIM_COMPONENTS_PATH}/libUtilv1/src/
22  ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/
23)
24