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