diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-03-13 16:52:58 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-03-13 16:52:58 -0400 |
commit | cbb7a509e8989fd972eb6a33abea6bd3a05a97d1 (patch) | |
tree | 89720b69ea8dbb43e34e41fb0a400160f7d06b25 /Source/cmExtraEclipseCDT4Generator.h | |
parent | 4a23e052375e589719a7f3cbf146cdbbffb83734 (diff) | |
download | cmake-cbb7a509e8989fd972eb6a33abea6bd3a05a97d1.tar.gz |
ENH: when using the Eclipse project generator, run gcc so that it tells us
its system include directories. These are catched in CMakeSystemSpecificInformation.cmake
(only with the Eclipse generator) and then written by the Eclipse generator
in the Eclipse project file. This way Eclipse can find the standard headers
(#7585)
Not sure CMakeSystemSpecificInformation.cmake is the best place to do this.
Alex
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.h')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h index 0898b7668b..7990edba49 100644 --- a/Source/cmExtraEclipseCDT4Generator.h +++ b/Source/cmExtraEclipseCDT4Generator.h @@ -111,6 +111,10 @@ private: const std::string& defname, const std::string& altdefname); + static void AppendIncludeDirectories(cmGeneratedFileStream& fout, + const std::vector<std::string>& includeDirs, + std::set<std::string>& emittedDirs); + std::vector<std::string> SrcLinkedResources; std::vector<std::string> OutLinkedResources; std::string HomeDirectory; |