Browse Source

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

These are used on the WinRT & WinPhone platforms.  Build them using the
`PRIResource` tool.
Andrew Shaitorov 10 years ago
parent
commit
77dde5cb1f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmVisualStudio10TargetGenerator.cxx

+ 4 - 0
Source/cmVisualStudio10TargetGenerator.cxx

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