From 77dde5cb1f760d180e145b102997a72baac16c33 Mon Sep 17 00:00:00 2001 From: Andrew Shaitorov Date: Thu, 22 Oct 2015 20:17:27 +0300 Subject: [PATCH] VS: Add support for `.resw` files (#15811) These are used on the WinRT & WinPhone platforms. Build them using the `PRIResource` tool. --- Source/cmVisualStudio10TargetGenerator.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 2395ce7db..1de284721 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/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";