bitpit
bitpit copied to clipboard
cmake: activate address sanitizer for MSVC compiler
Adding compliant option to activate address sanitizer also with the MSVC compiler. The only difference with respect to the current solution in main CMakeLists.txt should be to use the compiler flag /fsanitize
instead of gnu/LLVM style --fsanitize
More information here https://docs.microsoft.com/en-us/cpp/sanitizers/asan?view=msvc-170