Skip to content

cmake: activate address sanitizer for MSVC compiler #316

@roccoarpa

Description

@roccoarpa

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions