diff options
author | Adolfo E. García <adolfo.garcia.cr@gmail.com> | 2017-10-15 15:54:27 +0300 |
---|---|---|
committer | Adolfo E. García <adolfo.garcia.cr@gmail.com> | 2017-10-21 19:12:28 +0300 |
commit | de065c728fb7600ec368e895ba4faab656c0dc0a (patch) | |
tree | 7cd07f1a7f20021802dffa740295c64d3d48a5d9 /README.md | |
parent | 2fa3f5072d2010c402d44c394b208cd32f108aea (diff) |
Enable option WITH_ASAN for macOS builds
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -70,10 +70,12 @@ cmake accepts the following options: -DWITH_TESTS=[ON|OFF] Enable/Disable building of unit tests (default: ON) -DWITH_GUI_TESTS=[ON|OFF] Enable/Disable building of GUI tests (default: OFF) -DWITH_DEV_BUILD=[ON|OFF] Enable/Disable deprecated method warnings (default: OFF) - -DWITH_ASAN=[ON|OFF] Enable/Disable address sanitizer checks (Linux only) (default: OFF) + -DWITH_ASAN=[ON|OFF] Enable/Disable address sanitizer checks (Linux / macOS only) (default: OFF) -DWITH_COVERAGE=[ON|OFF] Enable/Disable coverage tests (GCC only) (default: OFF) ``` +:exclamation: When building with ASan support on macOS, you need to use `export ASAN_OPTIONS=detect_leaks=0` before running the tests (no LSan support in macOS). + ### Contributing We are always looking for suggestions how to improve our application. If you find any bugs or have an idea for a new feature, please let us know by opening a report in our [issue tracker](https://github.com/keepassxreboot/keepassxc/issues) on GitHub or join us on IRC on freenode channels #keepassxc or #keepassxc-dev. |