Skip to content

Commit cd66a47

Browse files
committed
cmake readme: add how to build
1 parent 9f0b221 commit cd66a47

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cmake/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,13 @@ Supported examples can be identified by the presence of a top level `CMakelists.
2626
- ARMClang6: the assembler does not include definitions. It will be fixed in the upcoming release (>3.18.2). Reference: https://gitlab.kitware.com/cmake/cmake/-/issues/21148#note_823305
2727
- Ninja: ARMClang6 response files require unix paths on Windows. Reference: https://gitlab.kitware.com/cmake/cmake/-/issues/21093
2828

29+
## How to build an application
30+
31+
Prerequisities:
32+
- CMake >3.18.2
33+
- mbed-tools >3.2.0
34+
35+
From the application root run the following:
36+
1. `mbedtools configure -m target_name -t toolchain name` - this creates Mbed OS configuration
37+
2. `mkdir build && cd build && cmake .. -GNinja && cmake --build .`
38+

0 commit comments

Comments
 (0)