From 43499b1ecb946dbee0c1f93771e2b6ed7adea02f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 21 Sep 2009 13:18:45 -0400 Subject: Fix Bug #8332, add support for .pch files for Xcode. --- Source/cmGlobalXCodeGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; } -- cgit v0.12