From c0eacf8e85003844b95e71b9004fa464d4586a38 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 14 Oct 2021 22:19:26 +0200 Subject: Use dependency system and build system for compiling ctor on config changes. --- src/tasks.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tasks.h') diff --git a/src/tasks.h b/src/tasks.h index 54591a4..aaa3510 100644 --- a/src/tasks.h +++ b/src/tasks.h @@ -33,3 +33,9 @@ std::shared_ptr getNextTask(const std::list>& allTas //! dependency tasks (ie. objects tasks from their sources). std::list> getTasks(const Settings& settings, const std::vector names = {}); + +//! Generate list of targets from a single configuration, including the final +//! link target and all its objects files (if any). +std::list> taskFactory(const BuildConfiguration& config, + const Settings& settings, + const std::string& sourceDir); -- cgit v1.2.3