Skip to content

Commit 88410a5

Browse files
committed
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.
1 parent 8a507e6 commit 88410a5

File tree

8 files changed

+2
-2
lines changed

8 files changed

+2
-2
lines changed

UNITTESTS/stubs/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ target_include_directories(mbed-stubs-headers
6262
)
6363

6464
add_subdirectory(connectivity)
65-
add_subdirectory(events)
6665

6766
add_library(mbed-stubs INTERFACE)
6867

events/tests/UNITTESTS/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (c) 2021 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4+
add_subdirectory(doubles)
45
add_subdirectory(equeue)

UNITTESTS/stubs/events/CMakeLists.txt renamed to events/tests/UNITTESTS/doubles/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_library(mbed-stubs-events)
66
target_sources(mbed-stubs-events
77
PRIVATE
88
equeue_stub.c
9-
${mbed-os_SOURCE_DIR}/events/tests/UNITTESTS/stubs/EqueuePosix_stub.c
9+
EqueuePosix_stub.c
1010
EventFlags_stub.cpp
1111
EventQueue_stub.cpp
1212
mbed_shared_queues_stub.cpp

0 commit comments

Comments
 (0)