diff options
author | Andrew Shaitorov <rain@fenomen-games.com> | 2015-10-22 17:17:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-10-28 19:19:21 (GMT) |
commit | 77dde5cb1f760d180e145b102997a72baac16c33 (patch) | |
tree | ab79490f84e053d4d80a48504f9a295c55f2a4ff /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 3187de20fd9949ab90df4651f5d1ae0d218a9afd (diff) | |
download | CMake-77dde5cb1f760d180e145b102997a72baac16c33.zip CMake-77dde5cb1f760d180e145b102997a72baac16c33.tar.gz CMake-77dde5cb1f760d180e145b102997a72baac16c33.tar.bz2 |
VS: Add support for `.resw` files (#15811)
These are used on the WinRT & WinPhone platforms. Build them using the
`PRIResource` tool.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 2395ce7..1de2847 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"; |