From 0a8532c3a0c6c4f2787e1561f9d5400ba3dbcbd7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 14 Sep 2009 15:20:15 -0400 Subject: [PATCH] Bug #8356, add support for image types in Xcode files. --- Source/cmGlobalXCodeGenerator.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index a9fcf0634..4131dfcaf 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -650,6 +650,10 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf, { sourcecode += ".c.c"; } + else if(ext == "png" || ext == "gif" || ext == "jpg") + { + sourcecode = "image"; + } else if(ext == "txt") { sourcecode += ".text";