Skip to content

Commit 0ce8472

Browse files
committed
CMake: Move lorawan stub headers to the lorawan/tests/UNITTESTS/double dir
Previously all the lorawan stubs headers under mbed-stubs-headers, so this PR move all lorawan stubs headers under cellular/tests/UNITTESTS/double directory and add a new mbed-stubs-lorawan-headers library to make lorawan stubs to be self-contained
1 parent 9cd9381 commit 0ce8472

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

connectivity/lorawan/tests/UNITTESTS/doubles/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ target_include_directories(mbed-headers-lorawan
1313
${mbed-os_SOURCE_DIR}/connectivity/lorawan/system
1414
)
1515

16+
17+
add_library(mbed-stubs-lorawan-headers INTERFACE)
18+
19+
target_include_directories(mbed-stubs-lorawan-headers
20+
INTERFACE
21+
.
22+
)
23+
1624
add_library(mbed-stubs-lorawan)
1725

1826
target_compile_definitions(mbed-stubs-lorawan

0 commit comments

Comments
 (0)