summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-21 17:18:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-21 17:18:45 (GMT)
commit43499b1ecb946dbee0c1f93771e2b6ed7adea02f (patch)
tree6f4db0f06ee4baa276f6aac53adbadf79e92f4f2
parent441cd9ce0b7e5679a7116683163d0f3069477842 (diff)
downloadCMake-43499b1ecb946dbee0c1f93771e2b6ed7adea02f.zip
CMake-43499b1ecb946dbee0c1f93771e2b6ed7adea02f.tar.gz
CMake-43499b1ecb946dbee0c1f93771e2b6ed7adea02f.tar.bz2
Fix Bug #8332, add support for .pch files for Xcode.
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index bc77630..bacc8c3 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";
}