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