summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-03-13 20:52:58 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-03-13 20:52:58 (GMT)
commitcbb7a509e8989fd972eb6a33abea6bd3a05a97d1 (patch)
tree89720b69ea8dbb43e34e41fb0a400160f7d06b25 /Source/cmExtraEclipseCDT4Generator.h
parent4a23e052375e589719a7f3cbf146cdbbffb83734 (diff)
downloadCMake-cbb7a509e8989fd972eb6a33abea6bd3a05a97d1.zip
CMake-cbb7a509e8989fd972eb6a33abea6bd3a05a97d1.tar.gz
CMake-cbb7a509e8989fd972eb6a33abea6bd3a05a97d1.tar.bz2
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h
index 0898b76..7990edb 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;