diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-02-19 15:07:28 -0500 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-02-19 15:07:28 -0500 |
commit | 87ae93362cd94b76996aa5ecf6bd71dd392b8fc6 (patch) | |
tree | 5e5fc7c7069ae52866a4ffdd63dc080268435010 /Source/cmExtraEclipseCDT4Generator.h | |
parent | 01bd9819c3c78be722c43038ec2eed4d9c65a5a4 (diff) | |
download | cmake-87ae93362cd94b76996aa5ecf6bd71dd392b8fc6.tar.gz |
ENH: patch part 1 from Miguel: use the cmake project name for the eclipse
project name
Alex
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.h')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h index 4ed720fb58..d025c89cec 100644 --- a/Source/cmExtraEclipseCDT4Generator.h +++ b/Source/cmExtraEclipseCDT4Generator.h @@ -76,6 +76,11 @@ private: // Extract basename. static std::string GetPathBasename(const std::string& path); + // Generate the project name as: <name>-<type>@<path> + static std::string GenerateProjectName(const std::string& name, + const std::string& type, + const std::string& path); + // Helper functions static void AppendStorageScanners(cmGeneratedFileStream& fout); static void AppendTarget (cmGeneratedFileStream& fout, @@ -91,6 +96,10 @@ private: const std::string& runActionCommand, bool runActionUseDefault, bool sipParserEnabled); + + std::string HomeDirectory; + std::string HomeOutputDirectory; + }; #endif |