summaryrefslogtreecommitdiff
path: root/build.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-07-10 21:17:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-07-10 23:43:37 +0200
commit23b150fd0dedc012e85b405ec92bc3adacfe9959 (patch)
tree2f919e89b74906eb15c14ff89e2936dab2936b74 /build.h
parentbfbb506ff1a5e87401d4aa633f0707d1238082d0 (diff)
Individual target builds.
Diffstat (limited to 'build.h')
-rw-r--r--build.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.h b/build.h
new file mode 100644
index 0000000..36e48ad
--- /dev/null
+++ b/build.h
@@ -0,0 +1,18 @@
+// -*- c++ -*-
+#pragma once
+
+#include <string>
+#include <list>
+#include <memory>
+
+#include "task.h"
+#include "settings.h"
+
+int build(const Settings& settings,
+ const std::string& name,
+ const std::list<std::shared_ptr<Task>>& tasks,
+ const std::list<std::shared_ptr<Task>>& all_tasks);
+
+int build(const Settings& settings,
+ const std::string& name,
+ const std::list<std::shared_ptr<Task>>& all_tasks);