diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-14 07:46:43 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-14 07:46:43 +0200 |
commit | ba04d2889a4e017c6043bac9951f722e60b63bc5 (patch) | |
tree | 1267f9264dfe81aadeac46446ee6122a5abe5190 /src/build.h | |
parent | f7fda8ca8841552b54ce72ed8ca9156cc09368d0 (diff) |
Add suport for building and running unittests with the 'check' target.
Diffstat (limited to 'src/build.h')
-rw-r--r-- | src/build.h | 6 |
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); |