mirror of https://github.com/ARMmbed/mbed-os.git
Try and fix host tests
parent
bc46f5a3af
commit
dd66013d9c
|
@ -1,16 +1,21 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# List of all storage libraries available.
|
||||
add_library(mbed-storage STATIC EXCLUDE_FROM_ALL)
|
||||
|
||||
|
||||
if(${CMAKE_CROSSCOMPILING})
|
||||
# List of all storage libraries available, also has some source files.
|
||||
add_library(mbed-storage STATIC EXCLUDE_FROM_ALL)
|
||||
|
||||
# The directories below contain optional target libraries
|
||||
add_subdirectory(blockdevice EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(filesystem EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(kvstore EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(platform EXCLUDE_FROM_ALL)
|
||||
else()
|
||||
# List of all storage libraries available.
|
||||
add_library(mbed-storage INTERFACE)
|
||||
|
||||
# Add these subdirectories for the Unit test
|
||||
add_subdirectory(blockdevice)
|
||||
add_subdirectory(filesystem)
|
||||
|
|
Loading…
Reference in New Issue