Update BUILDING.md

This commit is contained in:
coco875
2025-07-03 17:53:01 +02:00
committed by GitHub
parent 497de0b6e6
commit d71abdd338
+6 -1
View File
@@ -150,9 +150,14 @@ cmake --build build-cmake
docker build . -t spaghetti
```
#### Configure the project
```sh
docker run --rm -v ${PWD}:/project spaghetti cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
```
#### Compile the project
```sh
docker run --rm -v ${PWD}:/project spaghetti ./build.sh
docker run --rm -v ${PWD}:/project spaghetti cmake --build build-cmake --config Release -j$(nproc)
```
### Generate a distributable