According to the docs as of CMake 3.7
Visual Studio Generators for VS 2010 and above learned to place
.natvis
source files into VS project files properly.
Which means the following will work correctly with Visual Studio generators.
target_sources(foobar PRIVATE foobar.natvis)
Will this also work for Ninja on MSVC?
Do I need to guard this with a check for MSVC?