mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix failure due to events and netsocket dirs changes
parent
ecfee28517
commit
8b21238e08
|
@ -3,4 +3,5 @@
|
|||
|
||||
add_subdirectory(802.15.4_RF)
|
||||
add_subdirectory(cellular)
|
||||
add_subdirectory(emac)
|
||||
add_subdirectory(wifi)
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/equeue.c
|
||||
source/equeue_mbed.cpp
|
||||
source/equeue_posix.c
|
||||
source/EventQueue.cpp
|
||||
source/mbed_shared_queues.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
internal
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/events
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/events/internal
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/EventQueue.cpp
|
||||
source/equeue.c
|
||||
source/equeue_mbed.cpp
|
||||
source/equeue_posix.c
|
||||
source/mbed_shared_queues.cpp
|
||||
)
|
||||
|
|
|
@ -12,7 +12,6 @@ add_subdirectory(lorawan)
|
|||
add_subdirectory(lwipstack)
|
||||
add_subdirectory(mbedtls)
|
||||
add_subdirectory(nanostack)
|
||||
add_subdirectory(netsocket/emac-drivers)
|
||||
add_subdirectory(nfc)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Add target directories by appending the prefix below to the labels defined
|
||||
# by MBED_OS_TARGET_LABELS in ../cmake/target.cmake
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
@ -10,5 +12,3 @@ target_sources(mbed-os
|
|||
PRIVATE
|
||||
USBPhy_Kinetis.cpp
|
||||
)
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
|
Loading…
Reference in New Issue