Fix Bug #8332, add support for .pch files for Xcode.

This commit is contained in:
Bill Hoffman 2009-09-21 13:18:45 -04:00
parent 441cd9ce0b
commit 43499b1ecb
1 changed files with 2 additions and 1 deletions

View File

@ -638,7 +638,8 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf,
{
sourcecode += ".c.h";
}
else if(ext == "hxx" || ext == "hpp" || ext == "txx")
else if(ext == "hxx" || ext == "hpp" || ext == "txx"
|| ext == "pch")
{
sourcecode += ".cpp.h";
}