summaryrefslogtreecommitdiff
path: root/src/task_fn.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-12-27 15:08:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2026-01-05 22:47:12 +0100
commitfa99825fa800f0faf4a6e6b1d639b261c7aa43c9 (patch)
tree17945e16aa7f33c8aede1694c90a08b7cc05e0e1 /src/task_fn.h
parent5ac072c0f42bf3216d16f177c795e9324bf3c52b (diff)
Add many-to-one generator function type.develop
Diffstat (limited to 'src/task_fn.h')
-rw-r--r--src/task_fn.h5
1 files changed, 4 insertions, 1 deletions
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<std::string> sources;
};