|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016043||CMake||CMake||public||2016-03-31 15:12||2016-06-10 14:31|
|Assigned To||Kitware Robot|
|Product Version||CMake 3.5.1|
|Target Version||Fixed in Version|
|Summary||0016043: Support natvis source file type in the MSVC Project Generator|
|Description||Starting 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.
|Tags||No tags attached.|
Kitware Robot (administrator)
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.
|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|