summaryrefslogtreecommitdiff
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/build.h b/src/build.h
index caf7a68..97bcfc6 100644
--- a/src/build.h
+++ b/src/build.h
@@ -10,23 +10,25 @@
#include "task.h"
#include "tasks.h"
+namespace ctor {
struct Settings;
+} // namespace ctor::
//! Dry-run returns number of dirty tasks but otherwise does nothing.
-int build(const Settings& settings,
+int build(const ctor::Settings& settings,
const std::string& name,
const std::set<std::shared_ptr<Task>>& tasks,
const std::set<std::shared_ptr<Task>>& all_tasks,
bool dryrun = false);
//! Dry-run returns number of dirty tasks but otherwise does nothing.
-int build(const Settings& settings,
+int build(const ctor::Settings& settings,
const std::string& name,
const std::set<std::shared_ptr<Task>>& all_tasks,
bool dryrun = false);
//! Dry-run returns number of dirty tasks but otherwise does nothing.
-int build(const Settings& settings,
+int build(const ctor::Settings& settings,
const std::string& name,
const std::vector<Target>& targets,
const std::set<std::shared_ptr<Task>>& all_tasks,