You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct and complete Nabla's CMake ASAN code, find workaround for the Sanitanizer to be seen in a project's properties, correct some CMake variables that sometimes may bring mess to CMake cache and a project's compile or link options
#423
Open
AnastaZIuk opened this issue
Sep 28, 2022
· 0 comments
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.
The text was updated successfully, but these errors were encountered:
AnastaZIuk
changed the title
Correct and complete Nabla's CMake ASAN code, find workaround for the Sanitanizer to be seen in a project's properties, correct some CMake variables get sometimes may bring mess to CMake cache and a project's compile or link options
Correct and complete Nabla's CMake ASAN code, find workaround for the Sanitanizer to be seen in a project's properties, correct some CMake variables that sometimes may bring mess to CMake cache and a project's compile or link options
Sep 28, 2022
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 fixCMAKE_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.The text was updated successfully, but these errors were encountered: