diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-23 07:37:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-23 07:37:08 +0200 |
commit | e4c0168e4e8834aea0cfe06b8b2fc8bd63f591bb (patch) | |
tree | aa8060de3abd73dfbf89ed35d054fc470cf445ea /tasks.h | |
parent | 68bf2848332fd15a2b6dfa49f3a58fccd899dbd7 (diff) |
Split libcppbuild.cc into multiple files/modules.
Diffstat (limited to 'tasks.h')
-rw-r--r-- | tasks.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +// -*- c++ -*- +#pragma once + +#include <string> +#include <list> +#include <memory> + +#include "task.h" + +class BuildConfiguration; +class Settings; + +std::list<std::shared_ptr<Task>> taskFactory(const BuildConfiguration& config, + const Settings& settings, + const std::string& sourceDir); +std::shared_ptr<Task> getNextTask(const std::list<std::shared_ptr<Task>>& allTasks, + std::list<std::shared_ptr<Task>>& dirtyTasks); +std::list<std::shared_ptr<Task>> getTasks(const Settings& settings); |