1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 6 7project(long_ad) 8 9# This contains babblesim-specific helpers, e.g. device synchronization. 10add_subdirectory(${ZEPHYR_BASE}/tests/bsim/babblekit babblekit) 11target_link_libraries(app PRIVATE babblekit) 12 13zephyr_include_directories( 14 ${BSIM_COMPONENTS_PATH}/libUtilv1/src/ 15 ${BSIM_COMPONENTS_PATH}/libPhyComv1/src/ 16) 17 18target_sources(app PRIVATE 19 src/main.c 20 src/advertiser.c 21 src/scanner.c 22) 23