瀏覽代碼

Merge topic 'vs-resw-files'

77dde5cb VS: Add support for `.resw` files (#15811)
Brad King 10 年之前
父節點
當前提交
41e5605d02
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Source/cmVisualStudio10TargetGenerator.cxx

+ 4 - 0
Source/cmVisualStudio10TargetGenerator.cxx

@@ -1311,6 +1311,10 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf)
     {
     {
     tool = "Image";
     tool = "Image";
     }
     }
+  else if(ext == "resw")
+    {
+    tool = "PRIResource";
+    }
   else if(ext == "xml")
   else if(ext == "xml")
     {
     {
     tool = "XML";
     tool = "XML";