Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2019-03-20 17:17:07 +0300
committerLukas Matena <lukasmatena@seznam.cz>2019-03-20 17:19:27 +0300
commit9f06dbd6157f4daabb9fbad617a9e02fca7193a6 (patch)
tree31f87c382ad1d0f01b49979a6b57661dcb483ba2 /doc
parent8466c55b7883af00fb000be8b378db614126d7b9 (diff)
Added a mention of ASAN in the wiki
Diffstat (limited to 'doc')
-rw-r--r--doc/How to build - Linux et al.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/How to build - Linux et al.md b/doc/How to build - Linux et al.md
index cf7bc86f2..14ec23b2d 100644
--- a/doc/How to build - Linux et al.md
+++ b/doc/How to build - Linux et al.md
@@ -58,11 +58,20 @@ Note that Slic3r PE is tested with wxWidgets 3.0 somewhat sporadically and so th
### Build variant
-By default Scli3r builds the release variant.
+By default Slic3r builds the release variant.
To create a debug build, use the following CMake flag:
-DCMAKE_BUILD_TYPE=Debug
+### Enabling address sanitizer
+
+If you're using GCC/Clang compiler, it is possible to build Slic3r with the built-in address sanitizer enabled to help detect memory-corruption issues.
+To enable it, simply use the following CMake flag:
+
+ -DSLIC3R_ASAN=1
+
+This requires GCC>4.8 or Clang>3.1.
+
### Installation
At runtime, Slic3r needs a way to access its resource files. By default, it looks for a `resources` directory relative to its binary.