Skip to content

Commit ee50d24

Browse files
committed
Incorporating the review comments
1 parent a9eda7c commit ee50d24

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tools/cmake/mbed_greentea.cmake

+8-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ include(${MBED_PATH}/tools/cmake/app.cmake)
1313
# TEST_REQUIRED_LIBS - Test suite required libraries
1414
#
1515
# calling the macro:
16-
# mbed_greentea_cmake_macro(TEST_NAME mbed-platform-system-reset TEST_INCLUDE_DIRS mbed_store TEST_SOURCES foo.cpp bar.cpp TEST_REQUIRED_LIBS mbed-kvstore mbed-xyz)
16+
# mbed_greentea_cmake_macro(
17+
# TEST_NAME mbed-platform-system-reset
18+
# TEST_INCLUDE_DIRS mbed_store
19+
# TEST_SOURCES foo.cpp bar.cpp
20+
# TEST_REQUIRED_LIBS mbed-kvstore mbed-xyz
21+
# )
1722

1823
macro(mbed_greentea_cmake_macro)
1924
set(options)
@@ -45,9 +50,9 @@ target_sources(${TEST_NAME}
4550
)
4651

4752
if(MBED_BAREMETAL_GREENTEA_TEST)
48-
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-baremetal mbed-greentea)
53+
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-baremetal mbed-greentea)
4954
else()
50-
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-os mbed-greentea)
55+
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-os mbed-greentea)
5156
endif()
5257

5358
target_link_libraries(${TEST_NAME}

0 commit comments

Comments
 (0)