zephyr/samples/sensor/light_polling/CMakeLists.txt
Dipak Shetty 66966f7211 samples: sensor: light: refactor into generic light polling sample
Moved the grove light sensor into a generic light sensor sample.
Replaced board specific node name for light sensor with an alias.
Refactored project name to reflect generic light sensor.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-04-01 22:12:13 +02:00

9 lines
222 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(light)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})