Browse Source

Merge topic 'vs-natvis'

a6290cff VS: Add support for NATVIS files
Brad King 9 years ago
parent
commit
8a5472bd2f
2 changed files with 7 additions and 0 deletions
  1. 5 0
      Help/release/dev/vs-natvis.rst
  2. 2 0
      Source/cmVisualStudio10TargetGenerator.cxx

+ 5 - 0
Help/release/dev/vs-natvis.rst

@@ -0,0 +1,5 @@
+vs-natvis
+---------
+
+* :ref:`Visual Studio Generators` for VS 2010 and above learned to
+  place ``.natvis`` source files into VS project files properly.

+ 2 - 0
Source/cmVisualStudio10TargetGenerator.cxx

@@ -1187,6 +1187,8 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf)
     tool = "PRIResource";
   } else if (ext == "xml") {
     tool = "XML";
+  } else if (ext == "natvis") {
+    tool = "Natvis";
   }
 
   if (this->NsightTegra) {