Skip to content

Commit 7a39265

Browse files
committed
cmake readme: fix readme review
1 parent 38e5db2 commit 7a39265

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

cmake/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ Prerequisities:
3333
- mbed-tools >=3.2.0
3434

3535
From the application root run the following:
36-
1. To create Mbed OS configuration: `mbedtools configure -m target_name -t toolchain_name`
37-
2. Run CMake to create the project files and build the project using Ninja: `mkdir build && cd build && cmake .. -GNinja && cmake --build .`
36+
1. To create the Mbed OS configuration CMake module, from the root of the application or wherever `mbed-os-lib` is found:
37+
38+
```
39+
mbedtools configure -m target_name -t toolchain_name
40+
``
41+
42+
2. Run the following command to create a build directory, generate the project configuration and build the project using `Ninja`:
43+
44+
```
45+
mkdir build && cd build && cmake .. -GNinja && cmake --build .
46+
```
3847

0 commit comments

Comments
 (0)