aboutsummaryrefslogtreecommitdiff
path: root/bpkg/diagnostics.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-09-02 08:42:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-09-02 08:42:53 +0200
commitbd02eaa1298271ecf8365aa869e93fdcb04fdeb1 (patch)
treeaed95a08521920e99ffced3c3e67799ad2009f43 /bpkg/diagnostics.hxx
parentdfef71dd6cd5f63a03abb172e6e553bd92b670bb (diff)
Add progress to configure/disfigure in pkg-build/drop if result is disabled
For projects with a large number of dependencies (e.g., Boost) these can take a while.
Diffstat (limited to 'bpkg/diagnostics.hxx')
-rw-r--r--bpkg/diagnostics.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx
index 04ede36..72fc9ae 100644
--- a/bpkg/diagnostics.hxx
+++ b/bpkg/diagnostics.hxx
@@ -109,6 +109,11 @@ namespace bpkg
template <typename F> inline void l5 (const F& f) {if (verb >= 5) f ();}
template <typename F> inline void l6 (const F& f) {if (verb >= 6) f ();}
+ // Progress reporting.
+ //
+ using butl::diag_progress;
+ using butl::diag_progress_lock;
+
// Diagnostic facility, base infrastructure.
//
using butl::diag_stream;