aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/b-options.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-06-21 10:04:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-06-21 10:04:07 +0200
commitbbe8cbd13c40a1309e0d7724319c5487a5df0879 (patch)
treebdd1e00d9605ec7d5d3d99f44f7eafaf7249a64c /libbuild2/b-options.ixx
parent2f29c7fbe758ffb53e4de9983df8b1cc927dad05 (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.ixx')
-rw-r--r--libbuild2/b-options.ixx48
1 files changed, 36 insertions, 12 deletions
diff --git a/libbuild2/b-options.ixx b/libbuild2/b-options.ixx
index b7944ba..f43dce2 100644
--- a/libbuild2/b-options.ixx
+++ b/libbuild2/b-options.ixx
@@ -68,18 +68,6 @@ namespace build2
return this->stat_;
}
- inline const std::set<string>& b_options::
- dump () const
- {
- return this->dump_;
- }
-
- inline bool b_options::
- dump_specified () const
- {
- return this->dump_specified_;
- }
-
inline const bool& b_options::
progress () const
{
@@ -200,6 +188,42 @@ namespace build2
return this->no_mtime_check_;
}
+ inline const std::set<string>& b_options::
+ dump () const
+ {
+ return this->dump_;
+ }
+
+ inline bool b_options::
+ dump_specified () const
+ {
+ return this->dump_specified_;
+ }
+
+ inline const std::vector<name>& b_options::
+ trace_match () const
+ {
+ return this->trace_match_;
+ }
+
+ inline bool b_options::
+ trace_match_specified () const
+ {
+ return this->trace_match_specified_;
+ }
+
+ inline const std::vector<name>& b_options::
+ trace_execute () const
+ {
+ return this->trace_execute_;
+ }
+
+ inline bool b_options::
+ trace_execute_specified () const
+ {
+ return this->trace_execute_specified_;
+ }
+
inline const bool& b_options::
no_column () const
{