Skip to content

Commit 062638e

Browse files
committed
CMake: Move rtos stub headers to the rtos/tests/UNITTESTS/double directory
Move rtos stubs headers to the mbed-os/rtos/tests/UNITTESTS/double directory and update CMake to create a mbed-stubs-rtos-headers library for rtos stub headers
1 parent 6a5f3ae commit 062638e

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

rtos/tests/UNITTESTS/doubles/CMakeLists.txt

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

4+
add_library(mbed-stubs-rtos-headers INTERFACE)
5+
6+
target_include_directories(mbed-stubs-rtos-headers
7+
INTERFACE
8+
.
9+
)
10+
411
add_library(mbed-stubs-rtos)
512

613
add_definitions(-DUNITTEST)

0 commit comments

Comments
 (0)