Skip to content

Commit ec45413

Browse files
Apply suggestions from code review
Co-authored-by: Hugues Kamba <[email protected]>
1 parent 48c80e6 commit ec45413

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tools/cmake/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ $ mbedtools configure -t <TOOLCHAIN> -m <MBED_TARGET>
8888
* Run the following command to build the test binary with the full profile
8989
9090
```
91-
touch mbed-os.lib && mkdir build && cd build && cmake .. -G Ninja && cmake --build .
91+
touch mbed-os.lib && mkdir cmake_build && cd cmake_build && cmake .. -G Ninja && cmake --build .
9292
```
9393
* Run the following command to build the test binary with the baremetal profile
9494
```

tools/cmake/mbed_greentea.cmake

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ include(${MBED_PATH}/tools/cmake/app.cmake)
2323
macro(mbed_greentea_cmake_macro)
2424
set(options)
2525
set(singleValueArgs TEST_NAME)
26-
set(multipleValueArgs
27-
TEST_INCLUDE_DIRS
28-
TEST_SOURCES
29-
TEST_REQUIRED_LIBS
26+
set(multipleValueArgs
27+
TEST_INCLUDE_DIRS
28+
TEST_SOURCES
29+
TEST_REQUIRED_LIBS
3030
)
31-
cmake_parse_arguments(MBED_GREENTEA
32-
"${options}"
31+
cmake_parse_arguments(MBED_GREENTEA
32+
"${options}"
3333
"${singleValueArgs}"
34-
"${multipleValueArgs}"
34+
"${multipleValueArgs}"
3535
${ARGN}
3636
)
3737

0 commit comments

Comments
 (0)