From 7a458f210f296cb3cc1551a4606f0cf025003f3a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 May 2023 13:05:27 +0200 Subject: Add --dump-scope and --dump-target options to limit --dump output --- libbuild2/b-options.hxx | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'libbuild2/b-options.hxx') diff --git a/libbuild2/b-options.hxx b/libbuild2/b-options.hxx index d965ff6..9afef25 100644 --- a/libbuild2/b-options.hxx +++ b/libbuild2/b-options.hxx @@ -13,8 +13,6 @@ // // End prologue. -#include - #include namespace build2 @@ -167,19 +165,31 @@ namespace build2 const bool& no_mtime_check () const; - const std::set& + const strings& dump () const; bool dump_specified () const; - const std::vector& + const dir_paths& + dump_scope () const; + + bool + dump_scope_specified () const; + + const vector>>& + dump_target () const; + + bool + dump_target_specified () const; + + const vector& trace_match () const; bool trace_match_specified () const; - const std::vector& + const vector& trace_execute () const; bool @@ -293,11 +303,15 @@ namespace build2 bool structured_result_specified_; bool mtime_check_; bool no_mtime_check_; - std::set dump_; + strings dump_; bool dump_specified_; - std::vector trace_match_; + dir_paths dump_scope_; + bool dump_scope_specified_; + vector>> dump_target_; + bool dump_target_specified_; + vector trace_match_; bool trace_match_specified_; - std::vector trace_execute_; + vector trace_execute_; bool trace_execute_specified_; bool no_column_; bool no_line_; -- cgit v1.1