build: reword debug instructions around single/multi config split
This commit is contained in:
parent
42f9b79811
commit
7fc6deadfb
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue