1# SPDX-License-Identifier: Apache-2.0
2# Copyright (c) 2019 Oticon A/S
3
4cmake_minimum_required(VERSION 3.20.0)
5
6find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
7project(peripheral_test)
8
9FILE(GLOB app_sources src/*.c)
10FILE(GLOB gatt_sources src/gatt/*.c)
11target_sources(app PRIVATE
12  ${app_sources}
13  ../common/edtt_driver_bsim.c
14  ${gatt_sources}
15)
16
17zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth
18  ../common/
19  src/
20  ${BSIM_COMPONENTS_PATH}/libUtilv1/src/
21  ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/
22)
23