From 7bf162fcd98920644e4f61ac0181037eb62c807e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 24 Oct 2021 18:45:17 +0200 Subject: Fix compilation of named targets and print notification when re-compiling config. --- src/build.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/build.h') diff --git a/src/build.h b/src/build.h index 1db3f5c..7be7517 100644 --- a/src/build.h +++ b/src/build.h @@ -11,16 +11,22 @@ #include "settings.h" #include "tasks.h" +//! Dry-run returns number of dirty tasks but otherwise does nothing. int build(const Settings& settings, const std::string& name, const std::list>& tasks, - const std::list>& all_tasks); + const std::list>& all_tasks, + bool dryrun = false); +//! Dry-run returns number of dirty tasks but otherwise does nothing. int build(const Settings& settings, const std::string& name, - const std::list>& all_tasks); + const std::list>& all_tasks, + bool dryrun = false); +//! Dry-run returns number of dirty tasks but otherwise does nothing. int build(const Settings& settings, const std::string& name, const std::vector& targets, - const std::list>& all_tasks); + const std::list>& all_tasks, + bool dryrun = false); -- cgit v1.2.3