Newer
Older
mbed-os / storage / kvstore / tdbstore / CMakeLists.txt
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

if(MBED_OS_ENABLE_TESTS)
    if(BUILD_GREENTEA_TESTS)
        # add greentea test
    else()
        add_subdirectory(tests/UNITTESTS)
    endif()
endif()

target_include_directories(mbed-storage-tdbstore
    INTERFACE
        .
        include
        include/tdbstore
)

target_sources(mbed-storage-tdbstore
    INTERFACE
        source/TDBStore.cpp
)

target_link_libraries(mbed-storage-tdbstore
    INTERFACE
        mbed-storage-kvstore
        mbed-storage-blockdevice
)