1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 5project(test_settings_nvs_raw) 6 7add_subdirectory(../src nvs_test_bindir) 8target_link_libraries(app PRIVATE settings_nvs_test) 9 10# The code is in the library common to several tests. 11target_sources(app PRIVATE placeholder.c) 12 13if(TEST) 14 target_compile_definitions(app PRIVATE 15 -DTEST_${TEST} 16 ) 17endif() 18