# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20.0)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(firefly_node)

# Verify that this samnple is built through sysbuild to ensure MCUboot is
# automatically included and that sample specific MCUboot configurations are
# used when building MCUboot.
test_sysbuild()

FILE(GLOB_RECURSE app_sources src/app/*.c)
# FILE(GLOB_RECURSE lib_sources src/lib/*.c)
FILE(GLOB_RECURSE driver_sources src/drivers/*.c)
target_sources(app PRIVATE ${app_sources} ${lib_sources} ${driver_sources})
target_include_directories(app PRIVATE src)
