Skip to content

Commit 7639872

Browse files
committed
Differentiate between debug and release builds in examples
1 parent 0541269 commit 7639872

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ examples/*.csv
3030
# Utils generated folders
3131
__pycache__
3232
images
33+
examples/debug
34+
examples/release

examples/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ Many of these simulations were used as thesis work.
44

55
To compile all simulations, use cmake inside the *examples* folder:
66
```shell
7-
cmake -B build -DCMAKE_BUILD_TYPE=Release && make -C build
7+
cmake -B release -DCMAKE_BUILD_TYPE=Release && make -C release
8+
```
9+
If anything goes wrong, try to build the example in debug mode:
10+
```shell
11+
cmake -B debug -DCMAKE_BUILD_TYPE=Debug && make -C debug
812
```
913

1014
## Simulation files

0 commit comments

Comments
 (0)