Skip to content

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

Description

@AnastaZIuk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMakeBuild SystembugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions