build: reword debug instructions around single/multi config split

This commit is contained in:
Olivier Chafik 2024-04-29 16:57:03 +01:00
parent 42f9b79811
commit 7fc6deadfb

View file

@ -329,14 +329,14 @@ In order to build llama.cpp you have three different options.
**Note**: for `Debug` builds, there are two cases: **Note**: for `Debug` builds, there are two cases:
- General case (esp. for default Makefile or Ninja generation): - 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
``` ```
- Special case for multi-config generators (`-G` param set to Visual Studio, XCode...; note that `--config` is ignored by other generators): - Multi-config generators (`-G` param set to Visual Studio, XCode...):
```bash ```bash
cmake -B build -G "Xcode" cmake -B build -G "Xcode"