diff options
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.h')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.h | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h index 26955ef..0cef071 100644 --- a/Source/cmExtraEclipseCDT4Generator.h +++ b/Source/cmExtraEclipseCDT4Generator.h @@ -26,24 +26,31 @@ class cmSourceGroup; class cmExtraEclipseCDT4Generator : public cmExternalMakefileProjectGenerator { public: - enum LinkType {VirtualFolder, LinkToFolder, LinkToFile }; + enum LinkType + { + VirtualFolder, + LinkToFolder, + LinkToFile + }; cmExtraEclipseCDT4Generator(); - static cmExternalMakefileProjectGenerator* New() { + static cmExternalMakefileProjectGenerator* New() + { return new cmExtraEclipseCDT4Generator; } - virtual std::string GetName() const { + virtual std::string GetName() const + { return cmExtraEclipseCDT4Generator::GetActualName(); } static std::string GetActualName() { return "Eclipse CDT4"; } virtual void GetDocumentation(cmDocumentationEntry& entry, - const std::string& fullName) const; + const std::string& fullName) const; virtual void EnableLanguage(std::vector<std::string> const& languages, - cmMakefile *, bool optional); + cmMakefile*, bool optional); virtual void Generate(); @@ -71,32 +78,24 @@ private: // Helper functions static void AppendStorageScanners(cmXMLWriter& xml, const cmMakefile& makefile); - static void AppendTarget (cmXMLWriter& xml, - const std::string& target, - const std::string& make, - const std::string& makeArguments, - const std::string& path, - const char* prefix = "", - const char* makeTarget = NULL); - static void AppendScannerProfile (cmXMLWriter& xml, - const std::string& profileID, - bool openActionEnabled, - const std::string& openActionFilePath, - bool pParserEnabled, - const std::string& scannerInfoProviderID, - const std::string& runActionArguments, - const std::string& runActionCommand, - bool runActionUseDefault, - bool sipParserEnabled); - - static void AppendLinkedResource (cmXMLWriter& xml, - const std::string& name, - const std::string& path, - LinkType linkType); - - static void AppendIncludeDirectories(cmXMLWriter& xml, - const std::vector<std::string>& includeDirs, - std::set<std::string>& emittedDirs); + static void AppendTarget(cmXMLWriter& xml, const std::string& target, + const std::string& make, + const std::string& makeArguments, + const std::string& path, const char* prefix = "", + const char* makeTarget = NULL); + static void AppendScannerProfile( + cmXMLWriter& xml, const std::string& profileID, bool openActionEnabled, + const std::string& openActionFilePath, bool pParserEnabled, + const std::string& scannerInfoProviderID, + const std::string& runActionArguments, const std::string& runActionCommand, + bool runActionUseDefault, bool sipParserEnabled); + + static void AppendLinkedResource(cmXMLWriter& xml, const std::string& name, + const std::string& path, LinkType linkType); + + static void AppendIncludeDirectories( + cmXMLWriter& xml, const std::vector<std::string>& includeDirs, + std::set<std::string>& emittedDirs); static void AddEnvVar(std::ostream& out, const char* envVar, cmLocalGenerator* lg); @@ -118,7 +117,6 @@ private: bool SupportsMachO64Parser; bool CEnabled; bool CXXEnabled; - }; #endif |