From e4c0168e4e8834aea0cfe06b8b2fc8bd63f591bb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 23 Jun 2021 07:37:08 +0200 Subject: Split libcppbuild.cc into multiple files/modules. --- tasks.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tasks.h (limited to 'tasks.h') diff --git a/tasks.h b/tasks.h new file mode 100644 index 0000000..119c7d6 --- /dev/null +++ b/tasks.h @@ -0,0 +1,18 @@ +// -*- c++ -*- +#pragma once + +#include +#include +#include + +#include "task.h" + +class BuildConfiguration; +class Settings; + +std::list> taskFactory(const BuildConfiguration& config, + const Settings& settings, + const std::string& sourceDir); +std::shared_ptr getNextTask(const std::list>& allTasks, + std::list>& dirtyTasks); +std::list> getTasks(const Settings& settings); -- cgit v1.2.3