Преглед изворни кода

VS: Add support for `.resw` files (#15811)

These are used on the WinRT & WinPhone platforms.  Build them using the
`PRIResource` tool.
Andrew Shaitorov пре 10 година
родитељ
комит
77dde5cb1f
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      Source/cmVisualStudio10TargetGenerator.cxx

+ 4 - 0
Source/cmVisualStudio10TargetGenerator.cxx

@@ -1305,6 +1305,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";