summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroup.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-11 04:05:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-11 04:05:20 (GMT)
commit28b1912aa3eba8427cc3d0a4954f7366fcb338b9 (patch)
tree180a95ccff9004c9e0997c7004ae1a96bb8a5c35 /Source/cmSourceGroup.h
parent2e22b70aa2c76ab5c980a566b72d043be0deb670 (diff)
downloadCMake-28b1912aa3eba8427cc3d0a4954f7366fcb338b9.zip
CMake-28b1912aa3eba8427cc3d0a4954f7366fcb338b9.tar.gz
CMake-28b1912aa3eba8427cc3d0a4954f7366fcb338b9.tar.bz2
ENH: add group support and fix borland error
Diffstat (limited to 'Source/cmSourceGroup.h')
-rw-r--r--Source/cmSourceGroup.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmSourceGroup.h b/Source/cmSourceGroup.h
index 1e64bc1..83778e1 100644
--- a/Source/cmSourceGroup.h
+++ b/Source/cmSourceGroup.h
@@ -37,7 +37,8 @@ class cmSourceGroupInternals;
class cmSourceGroup
{
public:
- cmSourceGroup(const char* name, const char* regex);
+ cmSourceGroup(const char* name, const char* regex,
+ const char* parentName=0);
cmSourceGroup(cmSourceGroup const& r);
~cmSourceGroup();
cmSourceGroup& operator=(cmSourceGroup const&);
@@ -66,6 +67,11 @@ public:
* Get the name of this group.
*/
const char* GetName() const;
+
+ /**
+ * Get the full path name for group.
+ */
+ const char* GetFullName() const;
/**
* Check if the given name matches this group's regex.
@@ -107,6 +113,8 @@ private:
* The name of the source group.
*/
std::string Name;
+ // Full path to group
+ std::string FullName;
/**
* The regular expression matching the files in the group.