aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/b-options.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-05-02 13:05:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-05-03 05:03:20 +0200
commit7a458f210f296cb3cc1551a4606f0cf025003f3a (patch)
tree71b20a6c67fb9b6801916406391c34e6710c3c2e /libbuild2/b-options.ixx
parentf66848dbd677b1027bade5728e04954c313231af (diff)
Add --dump-scope and --dump-target options to limit --dump output
Diffstat (limited to 'libbuild2/b-options.ixx')
-rw-r--r--libbuild2/b-options.ixx30
1 files changed, 27 insertions, 3 deletions
diff --git a/libbuild2/b-options.ixx b/libbuild2/b-options.ixx
index cdbbc3a..d19edb8 100644
--- a/libbuild2/b-options.ixx
+++ b/libbuild2/b-options.ixx
@@ -206,7 +206,7 @@ namespace build2
return this->no_mtime_check_;
}
- inline const std::set<string>& b_options::
+ inline const strings& b_options::
dump () const
{
return this->dump_;
@@ -218,7 +218,31 @@ namespace build2
return this->dump_specified_;
}
- inline const std::vector<name>& b_options::
+ inline const dir_paths& b_options::
+ dump_scope () const
+ {
+ return this->dump_scope_;
+ }
+
+ inline bool b_options::
+ dump_scope_specified () const
+ {
+ return this->dump_scope_specified_;
+ }
+
+ inline const vector<pair<name, optional<name>>>& b_options::
+ dump_target () const
+ {
+ return this->dump_target_;
+ }
+
+ inline bool b_options::
+ dump_target_specified () const
+ {
+ return this->dump_target_specified_;
+ }
+
+ inline const vector<name>& b_options::
trace_match () const
{
return this->trace_match_;
@@ -230,7 +254,7 @@ namespace build2
return this->trace_match_specified_;
}
- inline const std::vector<name>& b_options::
+ inline const vector<name>& b_options::
trace_execute () const
{
return this->trace_execute_;