1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4 5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 6project(sensor_shell) 7 8target_sources(app PRIVATE src/main.c) 9 10target_sources_ifdef(CONFIG_SAMPLES_SENSOR_SHELL_FAKE_SENSOR app PRIVATE 11 src/fake_sensor.c 12) 13 14target_include_directories(app PRIVATE include) 15