Closed edsavage closed 2 months ago
Add configuration for compiling with Address Sanitizer flags set for Linux and Windows (they're already present for macOS).
To use:
cmake --build cmake-build-sanitizer -j`nproc` -t install
In addition, certain flags may want to be set via the environment variable ASAN_OPTIONS, see https://github.com/google/sanitizers/wiki/AddressSanitizerFlags#run-time-flags for more details.
ASAN_OPTIONS
Add configuration for compiling with Address Sanitizer flags set for Linux and Windows (they're already present for macOS).
To use:
Linux
cmake --build cmake-build-sanitizer -j`nproc` -t install
Windows
In addition, certain flags may want to be set via the environment variable
ASAN_OPTIONS
, see https://github.com/google/sanitizers/wiki/AddressSanitizerFlags#run-time-flags for more details.