diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-14 19:20:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-14 19:20:15 (GMT) |
commit | 0a8532c3a0c6c4f2787e1561f9d5400ba3dbcbd7 (patch) | |
tree | 179a080a3a0c92094f502e4279df81586262a836 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 324f51cfc857939fcd7438f4ecb6d90abada5b61 (diff) | |
download | CMake-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.cxx | 4 |
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"; |