summaryrefslogtreecommitdiff
path: root/Source/cmSourceGroupCommand.h
diff options
context:
space:
mode:
authorMateusz Janek <stryku2393@gmail.com>2016-12-21 15:27:49 +0100
committerBrad King <brad.king@kitware.com>2017-01-16 10:52:48 -0500
commitb42330be21c0d3046aa0e6fdf046a492bddef520 (patch)
treeefd6fbbda9401a36000f2c3b265b9d43310348e6 /Source/cmSourceGroupCommand.h
parent6154a2cddcdb297b1aef20f501fec9af7d7b5262 (diff)
downloadcmake-b42330be21c0d3046aa0e6fdf046a492bddef520.tar.gz
source_group: Add options create groups matching directory tree
Add `TREE` and `PREFIX` arguments to enable this behavior.
Diffstat (limited to 'Source/cmSourceGroupCommand.h')
-rw-r--r--Source/cmSourceGroupCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSourceGroupCommand.h b/Source/cmSourceGroupCommand.h
index f533be15ca..55490963e5 100644
--- a/Source/cmSourceGroupCommand.h
+++ b/Source/cmSourceGroupCommand.h
@@ -36,6 +36,12 @@ public:
* The name of the command as specified in CMakeList.txt.
*/
std::string GetName() const CM_OVERRIDE { return "source_group"; }
+
+private:
+ bool processTree(const std::vector<std::string>& args,
+ std::string& errorMsg);
+ bool checkTreeArgumentsPreconditions(const std::vector<std::string>& args,
+ std::string& errorMsg) const;
};
#endif