summaryrefslogtreecommitdiff
path: root/Source/cmExtraEclipseCDT4Generator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2013-08-29 14:46:17 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2013-11-19 11:48:19 -0500
commit51726cce64ee8bce1115f3c6d092b4ae6f43d714 (patch)
tree4603d3738bb49933117e135c55c66303d8f03bac /Source/cmExtraEclipseCDT4Generator.h
parent4a352d43bbe3c8726046683e7dbc89a55b5e1c67 (diff)
downloadcmake-51726cce64ee8bce1115f3c6d092b4ae6f43d714.tar.gz
eclipse: Add natures for Eclipse based on enabled languages
Also adds support for the Java nature if Java is being used.
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.h')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h
index b31cce74c5..9c89f85158 100644
--- a/Source/cmExtraEclipseCDT4Generator.h
+++ b/Source/cmExtraEclipseCDT4Generator.h
@@ -41,6 +41,8 @@ public:
virtual void GetDocumentation(cmDocumentationEntry& entry,
const char* fullName) const;
+ virtual void EnableLanguage(std::vector<std::string> const& languages,
+ cmMakefile *, bool optional);
virtual void Generate();
@@ -105,6 +107,7 @@ private:
void CreateLinksForTargets(cmGeneratedFileStream& fout);
std::vector<std::string> SrcLinkedResources;
+ std::set<std::string> Natures;
std::string HomeDirectory;
std::string HomeOutputDirectory;
bool IsOutOfSourceBuild;