summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-02-19 20:07:28 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-02-19 20:07:28 (GMT)
commit87ae93362cd94b76996aa5ecf6bd71dd392b8fc6 (patch)
tree5e5fc7c7069ae52866a4ffdd63dc080268435010 /Source/cmExtraEclipseCDT4Generator.h
parent01bd9819c3c78be722c43038ec2eed4d9c65a5a4 (diff)
downloadCMake-87ae93362cd94b76996aa5ecf6bd71dd392b8fc6.zip
CMake-87ae93362cd94b76996aa5ecf6bd71dd392b8fc6.tar.gz
CMake-87ae93362cd94b76996aa5ecf6bd71dd392b8fc6.tar.bz2
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h
index 4ed720f..d025c89 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