Bug #8356, add support for image types in Xcode files.

This commit is contained in:
Bill Hoffman 2009-09-14 15:20:15 -04:00
parent 324f51cfc8
commit 0a8532c3a0
1 changed files with 4 additions and 0 deletions

View File

@ -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";