mirror of https://github.com/ARMmbed/mbed-os.git
30 lines
674 B
CMake
30 lines
674 B
CMake
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
|
|
if(BUILD_GREENTEA_TESTS)
|
|
# add greentea test
|
|
else()
|
|
add_subdirectory(tests/UNITTESTS)
|
|
endif()
|
|
endif()
|
|
|
|
target_include_directories(mbed-storage-filesystemstore
|
|
INTERFACE
|
|
.
|
|
include
|
|
include/filesystemstore
|
|
)
|
|
|
|
target_sources(mbed-storage-filesystemstore
|
|
INTERFACE
|
|
source/FileSystemStore.cpp
|
|
)
|
|
|
|
target_link_libraries(mbed-storage-filesystemstore
|
|
INTERFACE
|
|
mbed-storage-kvstore
|
|
mbed-storage-filesystem
|
|
mbed-storage-kv-config
|
|
)
|