zephyr/tests/subsys/settings/nffs/CMakeLists.txt

18 lines
450 B
CMake

cmake_minimum_required(VERSION 3.8.2)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(nffs)
FILE(GLOB app_sources src/*.c ../src/*c)
target_sources(app PRIVATE ${app_sources})
zephyr_include_directories(
$ENV{ZEPHYR_BASE}/subsys/settings/include
$ENV{ZEPHYR_BASE}/subsys/settings/src
$ENV{ZEPHYR_BASE}/tests/subsys/settings/nffs/src
)
if(TEST)
target_compile_definitions(app PRIVATE
-DTEST_${TEST}
)
endif()