diff options
author | Brad King <brad.king@kitware.com> | 2009-03-16 18:30:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-16 18:30:24 (GMT) |
commit | 921f3a1ac233c121b8cf7cbf896bc4c88717c9a8 (patch) | |
tree | a4b5f4f972ce69a87d7433466562852d372b59b1 /Source/cmGlobalXCodeGenerator.h | |
parent | 147d6f31015a64b3ec1b3799d4c0047942b27999 (diff) | |
download | CMake-921f3a1ac233c121b8cf7cbf896bc4c88717c9a8.zip CMake-921f3a1ac233c121b8cf7cbf896bc4c88717c9a8.tar.gz CMake-921f3a1ac233c121b8cf7cbf896bc4c88717c9a8.tar.bz2 |
BUG: Do not automatically set HEADER_FILE_ONLY
Long ago the native build system generators needed HEADER_FILE_ONLY to
be set on header files to stop them from building. The modern
generators correctly handle headers without the help of this property.
This removes automatic setting of the property so that it can be used
reliably as an indicator of project author intention. It fixes VS IDE
project files to show header files normally instead of excluded (broken
by the fix for issue #7845).
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 6e85a69..7a7bb00 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -159,6 +159,7 @@ private: cmTarget& cmtarget); void CreateXCodeTargets(cmLocalGenerator* gen, std::vector<cmXCodeObject*>&); + bool IsHeaderFile(cmSourceFile*); void AddDependTarget(cmXCodeObject* target, cmXCodeObject* dependTarget); void CreateXCodeDependHackTarget(std::vector<cmXCodeObject*>& targets); |