forked from cantyonion/LiveParise
add cmake option to disable asan
This commit is contained in:
13
README.md
13
README.md
@@ -22,3 +22,16 @@ Set these vars to you need
|
||||
const char SUBROOMID[] = ""; // at line 43 in main.c
|
||||
const char SS[] = "";
|
||||
```
|
||||
|
||||
### AddressSanitizer
|
||||
|
||||
Asan is enabled by default.
|
||||
|
||||
```bash
|
||||
cmake .. -DENABLE_ASAN=OFF # disable asan
|
||||
```
|
||||
or
|
||||
```CMake
|
||||
option(ENABLE_ASAN "Enable AddressSanitizer" OFF) # at line 9
|
||||
```
|
||||
to disable it.
|
||||
|
||||
Reference in New Issue
Block a user