Skip to content

Commit ede24b9

Browse files
authored
#2 correcting clang-debug-build instuctions
1 parent c61a1ac commit ede24b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/web/docs/Installing/Linux_Build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ the stdlib option has to be set. The blacklist filters out a known bug
234234
in the cstdlib. For details see the clang documentation.
235235

236236
The current CMake configuration already contains this for the debug
237-
build, so for building with CMake and clang just change to your build
238-
dir and use
237+
build, so for building with CMake and clang just change to your repository base dir and use
239238

240239
```
241-
CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug --build build -j $(nproc)
240+
CXX=clang++ cmake -D CMAKE_BUILD_TYPE=Debug -B build .
241+
cmake --build build -j $(nproc)
242242
```
243243

244244
The clang-debug-build will detect memory leaks (among other things)

0 commit comments

Comments
 (0)