summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-21 13:18:45 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-21 13:18:45 -0400
commit43499b1ecb946dbee0c1f93771e2b6ed7adea02f (patch)
tree6f4db0f06ee4baa276f6aac53adbadf79e92f4f2 /Source
parent441cd9ce0b7e5679a7116683163d0f3069477842 (diff)
downloadcmake-43499b1ecb946dbee0c1f93771e2b6ed7adea02f.tar.gz
Fix Bug #8332, add support for .pch files for Xcode.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index bc77630c7e..bacc8c393e 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -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";
}