View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016043CMakeCMakepublic2016-03-31 15:122016-06-10 14:31
ReporterZachary Turner 
Assigned ToKitware Robot 
PlatformOSOS Version
Product VersionCMake 3.5.1 
Target VersionFixed in Version 
Summary0016043: Support natvis source file type in the MSVC Project Generator
DescriptionStarting with Visual Studio 14 2015, vcxproj files can contain references to natvis files which enable custom debug visualizers for project specific types.

You specify these in the vcxproj file by including them in a <natvis> tag. Currently the MSVC project generator has no support for these. Through some hackery, it is still possible to get these files to appear in the vcxproj file with a <None> tag, and testing shows that it will work as long as the file has a .natvis extension, but a) this is undocumented / unsupported reliance on an implementation detail, b) it doesn't work if your file does not have a .natvis extension, and c) there could be some issues with doing this which we are unaware of.

It would be nice if you could write some CMake code like this:

`set_source_files_properties(foo.natvis LANGUAGE natvis)`

and this would cause the vcxproj generator to use a <natvis> tag instead of a <none> or <clcompile> tag, and this seems to fit well within CMake's language / generation model anyway.
TagsNo tags attached.
Attached Files


Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-03-31 15:12 Zachary Turner New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042973
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team