1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
6  message(FATAL_ERROR "This test requires the BabbleSim simulator. Please set  \
7          the  environment variable BSIM_COMPONENTS_PATH to point to its       \
8          components folder. More information can be found in                  \
9          https://babblesim.github.io/folder_structure_and_env.html")
10endif()
11
12find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
13project(bsim_test_auto_seq_req)
14
15target_sources(app PRIVATE
16  src/main.c
17  src/central.c
18  src/peripheral.c
19  src/bs_bt_utils.c
20)
21
22zephyr_include_directories(
23        $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
24        $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
25)
26