summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-14 19:20:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-14 19:20:15 (GMT)
commit0a8532c3a0c6c4f2787e1561f9d5400ba3dbcbd7 (patch)
tree179a080a3a0c92094f502e4279df81586262a836 /Source/cmGlobalXCodeGenerator.cxx
parent324f51cfc857939fcd7438f4ecb6d90abada5b61 (diff)
downloadCMake-0a8532c3a0c6c4f2787e1561f9d5400ba3dbcbd7.zip
CMake-0a8532c3a0c6c4f2787e1561f9d5400ba3dbcbd7.tar.gz
CMake-0a8532c3a0c6c4f2787e1561f9d5400ba3dbcbd7.tar.bz2
Bug #8356, add support for image types in Xcode files.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index a9fcf06..4131dfc 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";