From fa99825fa800f0faf4a6e6b1d639b261c7aa43c9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 27 Dec 2025 15:08:07 +0100 Subject: Add many-to-one generator function type. --- src/task_fn.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/task_fn.h') diff --git a/src/task_fn.h b/src/task_fn.h index 1bad32c..84b4c2a 100644 --- a/src/task_fn.h +++ b/src/task_fn.h @@ -28,6 +28,7 @@ public: std::string target() const override; std::filesystem::path targetFile() const override; + std::string sourceListString() const; bool derived() const override; std::string toJSON() const override; @@ -37,8 +38,10 @@ public: protected: std::filesystem::path sourceFile; std::filesystem::path _targetFile; + std::filesystem::path sourceListFile; const ctor::build_configuration& config; const ctor::settings& settings; - std::filesystem::path sourceDir; + + std::vector sources; }; -- cgit v1.2.3