diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-06-21 10:04:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-06-21 10:04:07 +0200 |
commit | bbe8cbd13c40a1309e0d7724319c5487a5df0879 (patch) | |
tree | bdd1e00d9605ec7d5d3d99f44f7eafaf7249a64c /libbuild2/b-options.hxx | |
parent | 2f29c7fbe758ffb53e4de9983df8b1cc927dad05 (diff) |
Add --trace-{match,execute} options
These options can be used to understand which dependency chain causes matching
or execution of a particular target.
Diffstat (limited to 'libbuild2/b-options.hxx')
-rw-r--r-- | libbuild2/b-options.hxx | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/libbuild2/b-options.hxx b/libbuild2/b-options.hxx index d8d85d3..2780a8d 100644 --- a/libbuild2/b-options.hxx +++ b/libbuild2/b-options.hxx @@ -98,12 +98,6 @@ namespace build2 const bool& stat () const; - const std::set<string>& - dump () const; - - bool - dump_specified () const; - const bool& progress () const; @@ -164,6 +158,24 @@ namespace build2 const bool& no_mtime_check () const; + const std::set<string>& + dump () const; + + bool + dump_specified () const; + + const std::vector<name>& + trace_match () const; + + bool + trace_match_specified () const; + + const std::vector<name>& + trace_execute () const; + + bool + trace_execute_specified () const; + const bool& no_column () const; @@ -249,8 +261,6 @@ namespace build2 uint16_t verbose_; bool verbose_specified_; bool stat_; - std::set<string> dump_; - bool dump_specified_; bool progress_; bool no_progress_; size_t jobs_; @@ -271,6 +281,12 @@ namespace build2 bool structured_result_specified_; bool mtime_check_; bool no_mtime_check_; + std::set<string> dump_; + bool dump_specified_; + std::vector<name> trace_match_; + bool trace_match_specified_; + std::vector<name> trace_execute_; + bool trace_execute_specified_; bool no_column_; bool no_line_; path buildfile_; |