summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-29 17:45:23 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-29 19:06:35 (GMT)
commit58bb14d4ac64686923d69bf515e8700f095c4ff5 (patch)
treeff6285b253c5e61085774dbc450ebcd122b601f5 /Source/cmVisualStudio10TargetGenerator.cxx
parent972cf1d7afd1476c550ca0503d75ec93bd764124 (diff)
downloadCMake-58bb14d4ac64686923d69bf515e8700f095c4ff5.zip
CMake-58bb14d4ac64686923d69bf515e8700f095c4ff5.tar.gz
CMake-58bb14d4ac64686923d69bf515e8700f095c4ff5.tar.bz2
VS: Map .xml to XML tool
Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 50c303f..b294e68 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1019,6 +1019,10 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf)
{
tool = "AppxManifest";
}
+ else if(ext == "xml")
+ {
+ tool = "XML";
+ }
this->WriteSource(tool, sf);
}