Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: activate address sanitizer for MSVC compiler #316

Open
roccoarpa opened this issue Jun 8, 2022 · 0 comments
Open

cmake: activate address sanitizer for MSVC compiler #316

roccoarpa opened this issue Jun 8, 2022 · 0 comments

Comments

@roccoarpa
Copy link
Contributor

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

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

No branches or pull requests

2 participants