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

target_include_directories(mbed-storage-qspif
    INTERFACE
        include
        include/QSPIF
)

target_sources(mbed-storage-qspif
    INTERFACE
        source/QSPIFBlockDevice.cpp
)

if(MBED_OS_ENABLE_TESTS)
    if (NOT BUILD_GREENTEA_TESTS)
        add_subdirectory(UNITTESTS)
    endif()
endif()