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 components \ 8 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_cis) 14 15target_sources(app PRIVATE src/main.c) 16 17zephyr_include_directories( 18 ${ZEPHYR_BASE} 19 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/ 20 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/ 21 ${ZEPHYR_BASE}/subsys/bluetooth/controller/include 22 ) 23