浏览代码

VS: Map .xml to XML tool

Inspired-by: Gilles Khouzam <[email protected]>
Brad King 11 年之前
父节点
当前提交
58bb14d4ac
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Source/cmVisualStudio10TargetGenerator.cxx

+ 4 - 0
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);
 }