Fix Bug #8332, add support for .pch files for Xcode.
This commit is contained in:
parent
441cd9ce0b
commit
43499b1ecb
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue