mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Move events stubs sources to the mbed-os/events directory
Move the events stub into the events component directory. so we can avoid duplicating the mbed-os source tree in a central UNITTESTS folder.pull/14823/head
parent
8a507e651e
commit
88410a5f85
|
|
@ -62,7 +62,6 @@ target_include_directories(mbed-stubs-headers
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectory(connectivity)
|
add_subdirectory(connectivity)
|
||||||
add_subdirectory(events)
|
|
||||||
|
|
||||||
add_library(mbed-stubs INTERFACE)
|
add_library(mbed-stubs INTERFACE)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Copyright (c) 2021 ARM Limited. All rights reserved.
|
# Copyright (c) 2021 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
add_subdirectory(doubles)
|
||||||
add_subdirectory(equeue)
|
add_subdirectory(equeue)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ add_library(mbed-stubs-events)
|
||||||
target_sources(mbed-stubs-events
|
target_sources(mbed-stubs-events
|
||||||
PRIVATE
|
PRIVATE
|
||||||
equeue_stub.c
|
equeue_stub.c
|
||||||
${mbed-os_SOURCE_DIR}/events/tests/UNITTESTS/stubs/EqueuePosix_stub.c
|
EqueuePosix_stub.c
|
||||||
EventFlags_stub.cpp
|
EventFlags_stub.cpp
|
||||||
EventQueue_stub.cpp
|
EventQueue_stub.cpp
|
||||||
mbed_shared_queues_stub.cpp
|
mbed_shared_queues_stub.cpp
|
||||||
Loading…
Reference in New Issue