Skip to content

cmake: activate address sanitizer for MSVC compiler #316

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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