readme : indent commands in lettered list

This commit is contained in:
Nikolaos Pothitos 2024-11-17 20:33:11 +02:00
parent defdfb3a63
commit 8b25d7cde2

View file

@ -26,17 +26,17 @@ cmake --build build --config Release
1. Single-config generators (e.g. default = `Unix Makefiles`; note that they just ignore the `--config` flag): 1. Single-config generators (e.g. default = `Unix Makefiles`; note that they just ignore the `--config` flag):
```bash ```bash
cmake -B build -DCMAKE_BUILD_TYPE=Debug cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build cmake --build build
``` ```
2. Multi-config generators (`-G` param set to Visual Studio, XCode...): 2. Multi-config generators (`-G` param set to Visual Studio, XCode...):
```bash ```bash
cmake -B build -G "Xcode" cmake -B build -G "Xcode"
cmake --build build --config Debug cmake --build build --config Debug
``` ```
For more details and a list of supported generators, see the [CMake documentation](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html). For more details and a list of supported generators, see the [CMake documentation](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html).