summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-24 14:21:49 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-08-24 14:21:49 -0400
commit9220e974017e34b53ba0650ec45c1a16566b6b88 (patch)
tree1e4ce1b543aa647e2ef7b79e2ab5c25dc1abf81c /Source/cmMakefile.h
parent9a4e7ea742e7ff8e1110f3fe55e98340cb309aef (diff)
downloadcmake-9220e974017e34b53ba0650ec45c1a16566b6b88.tar.gz
BUG: fix #4057 (which had several duplicates): handle recursivew source groups better, i.e. multiple sourcegroups with the same end component work now
Alex
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index d81da01aab..d2cd1d2ec6 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -291,10 +291,18 @@ public:
#if defined(CMAKE_BUILD_WITH_CMAKE)
/**
- * Add a source group for consideration when adding a new source.
+ * Add a root source group for consideration when adding a new source.
*/
void AddSourceGroup(const char* name, const char* regex=0,
const char* parent=0);
+
+ /**
+ * Add a source group for consideration when adding a new source.
+ * name is tokenized.
+ */
+ void AddSourceGroup(const std::vector<std::string>& name,
+ const char* regex=0, const char* parent=0);
+
#endif
/**
@@ -541,7 +549,7 @@ public:
/**
* Get the source group
*/
- cmSourceGroup* GetSourceGroup(const char* name);
+ cmSourceGroup* GetSourceGroup(const std::vector<std::string>&name);
#endif
/**