mbed-os/storage/filesystem/CMakeLists.txt

26 lines
526 B
CMake
Raw Normal View History

2020-07-20 17:10:35 +00:00
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
add_subdirectory(fat)
add_subdirectory(littlefs)
add_subdirectory(littlefsv2)
target_include_directories(mbed-storage-filesystem
INTERFACE
.
./include
./include/filesystem
2020-07-20 17:10:35 +00:00
)
target_sources(mbed-storage-filesystem
INTERFACE
source/Dir.cpp
source/File.cpp
source/FileSystem.cpp
2020-07-20 17:10:35 +00:00
)
target_compile_definitions(mbed-storage
INTERFACE
MBED_CONF_FILESYSTEM_PRESENT=1
)