ASAN support for Visual Studio
Allow building ASAN flavor also in Visual Studio: https://devblogs.microsoft.com/cppblog/asan-for-windows-x64-and-debug-build-support/
Basically /fsanitize=address
should create the according tag in vcxproj file:
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>NotSet</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
<EnableASAN>true</EnableASAN>
</PropertyGroup>
Also enable ctest to run memcheck with ASAN on Windows.
Edited by Dietmar Scheidl