mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix build due to system_storage and netsocket dir move in master
parent
4b13332d59
commit
396ddc7a4d
|
|
@ -4,3 +4,4 @@
|
|||
add_subdirectory(cellular)
|
||||
add_subdirectory(drivers)
|
||||
add_subdirectory(libraries)
|
||||
add_subdirectory(netsocket)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
# 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/netsocket
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/CellularNonIPSocket.cpp
|
||||
source/DTLSSocket.cpp
|
||||
source/DTLSSocketWrapper.cpp
|
||||
source/EMACInterface.cpp
|
||||
source/EthernetInterface.cpp
|
||||
source/ICMPSocket.cpp
|
||||
source/InternetDatagramSocket.cpp
|
||||
source/InternetSocket.cpp
|
||||
source/L3IPInterface.cpp
|
||||
source/NetStackMemoryManager.cpp
|
||||
source/NetworkInterface.cpp
|
||||
source/NetworkInterfaceDefaults.cpp
|
||||
source/NetworkStack.cpp
|
||||
source/PPPInterface.cpp
|
||||
source/SocketAddress.cpp
|
||||
source/SocketStats.cpp
|
||||
source/TCPSocket.cpp
|
||||
source/TLSSocket.cpp
|
||||
source/TLSSocketWrapper.cpp
|
||||
source/UDPSocket.cpp
|
||||
source/WiFiAccessPoint.cpp
|
||||
source/nsapi_dns.cpp
|
||||
source/nsapi_ppp.cpp
|
||||
)
|
||||
|
|
@ -12,7 +12,7 @@ add_subdirectory(lorawan)
|
|||
add_subdirectory(lwipstack)
|
||||
add_subdirectory(mbedtls)
|
||||
add_subdirectory(nanostack)
|
||||
add_subdirectory(netsocket)
|
||||
add_subdirectory(netsocket/emac-drivers)
|
||||
add_subdirectory(nfc)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(emac-drivers)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
CellularNonIPSocket.cpp
|
||||
DTLSSocket.cpp
|
||||
DTLSSocketWrapper.cpp
|
||||
EMACInterface.cpp
|
||||
EthernetInterface.cpp
|
||||
ICMPSocket.cpp
|
||||
InternetDatagramSocket.cpp
|
||||
InternetSocket.cpp
|
||||
L3IPInterface.cpp
|
||||
NetStackMemoryManager.cpp
|
||||
NetworkInterface.cpp
|
||||
NetworkInterfaceDefaults.cpp
|
||||
NetworkStack.cpp
|
||||
PPPInterface.cpp
|
||||
SocketAddress.cpp
|
||||
SocketStats.cpp
|
||||
TCPSocket.cpp
|
||||
TLSSocket.cpp
|
||||
TLSSocketWrapper.cpp
|
||||
UDPSocket.cpp
|
||||
WiFiAccessPoint.cpp
|
||||
nsapi_dns.cpp
|
||||
)
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
add_subdirectory(blockdevice)
|
||||
add_subdirectory(filesystem)
|
||||
add_subdirectory(kvstore)
|
||||
add_subdirectory(system_storage)
|
||||
add_subdirectory(platform)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
SystemStorage.cpp
|
||||
source/PlatformStorage.cpp
|
||||
)
|
||||
Loading…
Reference in New Issue