The commit ports settings tests that use NFFS to use Littlefs. GH Issue #18341 Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
18 lines
437 B
CMake
18 lines
437 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(NONE)
|
|
|
|
add_subdirectory(../src nffs_test_bindir)
|
|
|
|
target_link_libraries(app PRIVATE settings_nffs_test)
|
|
|
|
# The code is in the library common to several tests.
|
|
target_sources(app PRIVATE placeholder.c)
|
|
|
|
if(TEST)
|
|
target_compile_definitions(app PRIVATE
|
|
-DTEST_${TEST}
|
|
)
|
|
endif()
|