diff options
author | Brad King <brad.king@kitware.com> | 2014-07-29 17:52:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-29 19:06:37 (GMT) |
commit | 0ac28adc01c68bb9c11a34af122bac0071733965 (patch) | |
tree | 8288f43031317f8fec11180e21cce8582d347a19 | |
parent | 58bb14d4ac64686923d69bf515e8700f095c4ff5 (diff) | |
download | CMake-0ac28adc01c68bb9c11a34af122bac0071733965.zip CMake-0ac28adc01c68bb9c11a34af122bac0071733965.tar.gz CMake-0ac28adc01c68bb9c11a34af122bac0071733965.tar.bz2 |
VS: Map .jpg and .png sources to Image tool
Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index b294e68..d9013e0 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1019,6 +1019,11 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf) { tool = "AppxManifest"; } + else if(ext == "jpg" || + ext == "png") + { + tool = "Image"; + } else if(ext == "xml") { tool = "XML"; |