mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix failure due to kvstore and cellular dirs changes
parent
8dabb28cb6
commit
bd45acba8c
|
@ -1,5 +1,6 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(cellular)
|
||||
add_subdirectory(drivers)
|
||||
add_subdirectory(libraries)
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(source/framework)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/API
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/AT
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/device
|
||||
)
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
AT_CellularContext.cpp
|
||||
AT_CellularDevice.cpp
|
||||
AT_CellularInformation.cpp
|
||||
AT_CellularNetwork.cpp
|
||||
AT_CellularSMS.cpp
|
||||
AT_CellularStack.cpp
|
||||
AT_ControlPlane_netif.cpp
|
||||
)
|
|
@ -1,8 +1,6 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(API)
|
||||
add_subdirectory(AT)
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(device)
|
||||
add_subdirectory(targets)
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
APN_db.cpp
|
||||
CellularLog.cpp
|
||||
CellularUtil.cpp
|
||||
)
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
ATHandler.cpp
|
||||
CellularContext.cpp
|
||||
CellularDevice.cpp
|
||||
CellularStateMachine.cpp
|
||||
)
|
|
@ -2,3 +2,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("COMPONENT")
|
||||
mbed_add_cmake_directory_if_labels("")
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
mbed_add_cmake_directory_if_labels("FEATURE")
|
||||
|
||||
add_subdirectory(cellular/framework)
|
||||
add_subdirectory(cryptocell)
|
||||
add_subdirectory(device_key)
|
||||
add_subdirectory(frameworks/mbed-client-randlib)
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -1,18 +0,0 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
AT_CellularContext.cpp
|
||||
AT_CellularDevice.cpp
|
||||
AT_CellularInformation.cpp
|
||||
AT_CellularNetwork.cpp
|
||||
AT_CellularSMS.cpp
|
||||
AT_CellularStack.cpp
|
||||
AT_ControlPlane_netif.cpp
|
||||
)
|
|
@ -1,14 +0,0 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
APN_db.cpp
|
||||
CellularLog.cpp
|
||||
CellularUtil.cpp
|
||||
)
|
|
@ -1,15 +0,0 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
ATHandler.cpp
|
||||
CellularContext.cpp
|
||||
CellularDevice.cpp
|
||||
CellularStateMachine.cpp
|
||||
)
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -1,31 +1,21 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(direct_access_devicekey)
|
||||
add_subdirectory(kv_config)
|
||||
add_subdirectory(securestore)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/conf
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/direct_access_devicekey
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/filesystemstore
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/global_api
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/kv_map
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/securestore
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tdbstore
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/kvstore
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
conf/kv_config.cpp
|
||||
|
||||
direct_access_devicekey/DirectAccessDevicekey.cpp
|
||||
|
||||
filesystemstore/FileSystemStore.cpp
|
||||
|
||||
global_api/kvstore_global_api.cpp
|
||||
|
||||
kv_map/KVMap.cpp
|
||||
|
||||
securestore/SecureStore.cpp
|
||||
|
||||
tdbstore/TDBStore.cpp
|
||||
source/FileSystemStore.cpp
|
||||
source/KVMap.cpp
|
||||
source/TDBStore.cpp
|
||||
source/kvstore_global_api.cpp
|
||||
)
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/direct_access_devicekey
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/DirectAccessDevicekey.cpp
|
||||
)
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/kv_config
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/kv_config.cpp
|
||||
)
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/securestore
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/SecureStore.cpp
|
||||
)
|
Loading…
Reference in New Issue