diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-21 17:18:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-21 17:18:45 (GMT) |
commit | 43499b1ecb946dbee0c1f93771e2b6ed7adea02f (patch) | |
tree | 6f4db0f06ee4baa276f6aac53adbadf79e92f4f2 | |
parent | 441cd9ce0b7e5679a7116683163d0f3069477842 (diff) | |
download | CMake-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.cxx | 3 |
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"; } |