Newer
Older
mbed-os / storage / CMakeLists.txt
@Hugues Kamba Hugues Kamba on 21 Dec 2020 1 KB CMake: Add support for OSPIF blockdevice
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# List of all storage libraries available.
add_library(mbed-storage INTERFACE)

add_library(mbed-storage-blockdevice INTERFACE)
add_library(mbed-storage-dataflash INTERFACE)
add_library(mbed-storage-flashiap INTERFACE)
add_library(mbed-storage-i2cee INTERFACE)
add_library(mbed-storage-ospif INTERFACE)
add_library(mbed-storage-qspif INTERFACE)
add_library(mbed-storage-sd INTERFACE)
add_library(mbed-storage-spif INTERFACE)

add_library(mbed-storage-filesystem INTERFACE)
add_library(mbed-storage-littlefs-v2 INTERFACE)
add_library(mbed-storage-littlefs INTERFACE)
add_library(mbed-storage-fat INTERFACE)

add_library(mbed-storage-kvstore INTERFACE)
add_library(mbed-storage-tdbstore INTERFACE)
add_library(mbed-storage-filesystemstore INTERFACE)
add_library(mbed-storage-securestore INTERFACE)
add_library(mbed-storage-kv-config INTERFACE)
add_library(mbed-storage-direct-access-devicekey INTERFACE)
add_library(mbed-storage-kv-global-api INTERFACE)


add_subdirectory(blockdevice)
add_subdirectory(filesystem)
add_subdirectory(kvstore)
add_subdirectory(platform)

target_include_directories(mbed-storage
    INTERFACE
        .
)