diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-02-19 21:27:03 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-02-19 21:27:03 (GMT) |
commit | a2fadc80fa4f746327ff4908075335ebc8d4a8b0 (patch) | |
tree | ea93b051e7c12bcfa4574fd3d94d2d638394ac37 /Source/cmExtraEclipseCDT4Generator.h | |
parent | 87ae93362cd94b76996aa5ecf6bd71dd392b8fc6 (diff) | |
download | CMake-a2fadc80fa4f746327ff4908075335ebc8d4a8b0.zip CMake-a2fadc80fa4f746327ff4908075335ebc8d4a8b0.tar.gz CMake-a2fadc80fa4f746327ff4908075335ebc8d4a8b0.tar.bz2 |
ENH: patch from Miguel part 2: if ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT is
true, then the generator additionally generates eclipse project files in the
source dir, since this is the only way to get cvs/svn working with eclipse
This is off by default and the user has to enable it explicitely. If cmake
can't write there it still continues.
Alex
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.h')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h index d025c89..aa9da23 100644 --- a/Source/cmExtraEclipseCDT4Generator.h +++ b/Source/cmExtraEclipseCDT4Generator.h @@ -52,8 +52,11 @@ public: virtual void Generate(); private: + // create .project file in the source tree + void CreateSourceProjectFile() const; + // create .project file - void CreateProjectFile() const; + void CreateProjectFile(); // create .cproject file void CreateCProjectFile() const; @@ -97,8 +100,16 @@ private: bool runActionUseDefault, bool sipParserEnabled); + static void AppendLinkedResource (cmGeneratedFileStream& fout, + const std::string& name, + const std::string& path); + + std::vector<std::string> SrcLinkedResources; + std::vector<std::string> OutLinkedResources; std::string HomeDirectory; std::string HomeOutputDirectory; + bool IsOutOfSourceBuild; + bool GenerateSourceProject; }; |