Skip to content

Commit

Permalink
readme : indent commands in lettered list
Browse files Browse the repository at this point in the history
  • Loading branch information
pothitos authored Nov 17, 2024
1 parent 893a7db commit 1bfaf52
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ In order to build llama.cpp you have four different options.

1. Single-config generators (e.g. default = `Unix Makefiles`; note that they just ignore the `--config` flag):

```bash
cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build
```
```bash
cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build
```

2. Multi-config generators (`-G` param set to Visual Studio, XCode...):

```bash
cmake -B build -G "Xcode"
cmake --build build --config Debug
```
```bash
cmake -B build -G "Xcode"
cmake --build build --config Debug
```
- Building for Windows (x86, x64 and arm64) with MSVC or clang as compilers:
- Install Visual Studio 2022, e.g. via the [Community Edition](https://visualstudio.microsoft.com/de/vs/community/). In the installer, select at least the following options (this also automatically installs the required additional tools like CMake,...):
- Tab Workload: Desktop-development with C++
Expand Down

0 comments on commit 1bfaf52

Please sign in to comment.