1# Copyright 2024 Croxel, Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4cmake_minimum_required(VERSION 3.20.0) 5 6find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 7project(bsim_test_ext_adv) 8 9target_sources(app PRIVATE 10 src/common.c 11) 12 13 14target_sources_ifdef(CONFIG_BT_CENTRAL app PRIVATE 15 src/ext_adv_scanner.c 16) 17 18target_sources_ifdef(CONFIG_BT_PERIPHERAL app PRIVATE 19 src/ext_adv_advertiser.c 20) 21 22zephyr_include_directories( 23 ${BSIM_COMPONENTS_PATH}/libUtilv1/src/ 24 ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/ 25) 26