summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
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 d81da01..d2cd1d2 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
/**