summaryrefslogtreecommitdiff
path: root/src/build.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-09-14 07:46:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-09-14 07:46:43 +0200
commitba04d2889a4e017c6043bac9951f722e60b63bc5 (patch)
tree1267f9264dfe81aadeac46446ee6122a5abe5190 /src/build.h
parentf7fda8ca8841552b54ce72ed8ca9156cc09368d0 (diff)
Add suport for building and running unittests with the 'check' target.
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build.h b/src/build.h
index 36e48ad..0c4c3fd 100644
--- a/src/build.h
+++ b/src/build.h
@@ -7,6 +7,7 @@
#include "task.h"
#include "settings.h"
+#include "tasks.h"
int build(const Settings& settings,
const std::string& name,
@@ -16,3 +17,8 @@ int build(const Settings& settings,
int build(const Settings& settings,
const std::string& name,
const std::list<std::shared_ptr<Task>>& all_tasks);
+
+int build(const Settings& settings,
+ const std::string& name,
+ const std::vector<Target>& targets,
+ const std::list<std::shared_ptr<Task>>& all_tasks);