summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-10-19 20:02:14 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-10-19 20:02:14 (GMT)
commitb6d4de7911c5d54c087d5616660ee7e4050da834 (patch)
tree5753dc7d2327614b276d45bf4d76ee56dc8a2016 /Source/cmExtraEclipseCDT4Generator.h
parent1b6c33f79874ce7c03c6895ea531472b7d89a4ed (diff)
downloadCMake-b6d4de7911c5d54c087d5616660ee7e4050da834.zip
CMake-b6d4de7911c5d54c087d5616660ee7e4050da834.tar.gz
CMake-b6d4de7911c5d54c087d5616660ee7e4050da834.tar.bz2
Eclipse: add virtual folder for each target
For each target a virtual folder is created, which contains one virtual folder for each sourcegroup, which contain links to the actual source files (#12294, #12223) Alex
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.h')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h
index b866619..2c7aa43 100644
--- a/Source/cmExtraEclipseCDT4Generator.h
+++ b/Source/cmExtraEclipseCDT4Generator.h
@@ -25,6 +25,8 @@ class cmGeneratedFileStream;
class cmExtraEclipseCDT4Generator : public cmExternalMakefileProjectGenerator
{
public:
+ enum LinkType {VirtualFolder, LinkToFolder, LinkToFile };
+
cmExtraEclipseCDT4Generator();
static cmExternalMakefileProjectGenerator* New() {
@@ -88,7 +90,7 @@ private:
static void AppendLinkedResource (cmGeneratedFileStream& fout,
const std::string& name,
const std::string& path,
- bool isVirtualFolder = false);
+ LinkType linkType);
bool AppendOutLinkedResource(cmGeneratedFileStream& fout,
const std::string& defname,