Open
Description
In order to make ASAN work with Nabla we had to remove RTC1
flags from Nabla targets in Debug configuration that were inserted by default by CMake initialization. However we were in hurry and CMake's ASAN code needs more corrections, also we need to fix CMAKE_CXX_***
variables because sometimes they get overriden and appended too many times, they should not repeat in a cache.
There is also an issue with a project's properites not seeing Sanitanizer enabled, it's because CMake cannot handle ASAN properly. It should append <EnableASAN>true</EnableASAN>
to a project's .vcxproj
file, but it doesn't and it seems to not provide any option enabling it. We will need to provide a workaround which would insert that property.