diff options
author | Robert Dailey <robert@ziosk.com> | 2016-07-15 14:19:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-15 14:36:21 (GMT) |
commit | a6290cffaec49fc06875d6f0379af7d712b90bb3 (patch) | |
tree | b9d444686c7a0820dcf0d7d7969c84ee3a78fc5c /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | c8e59d2dfa7cc716d11b9e32fdc6f2302e4cbe69 (diff) | |
download | CMake-a6290cffaec49fc06875d6f0379af7d712b90bb3.zip CMake-a6290cffaec49fc06875d6f0379af7d712b90bb3.tar.gz CMake-a6290cffaec49fc06875d6f0379af7d712b90bb3.tar.bz2 |
VS: Add support for NATVIS files
Add an explicit `<Natvis>` element in VS project files for `*.natvis`
files. These enable custom debug visualizers for project-specific
types.
Fixes #16043.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index f5bbf4d..29459db 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/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) { |