diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-19 18:00:48 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-19 18:19:44 +0200 |
commit | 69528ba012ac2238f63464fb84e7623f3088603a (patch) | |
tree | c587fb15494d448a572e28ad6156aa9bb196ac17 /task.h | |
parent | f1fda74cb76600b746cc3239f3ebf2f69ce2bf53 (diff) |
Add compilation database generation.
Diffstat (limited to 'task.h')
-rw-r--r-- | task.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ public: virtual std::vector<std::string> depends() const = 0; virtual std::string target() const = 0; + virtual std::string toJSON() const { return {}; }; + protected: std::atomic<State> task_state{State::Unknown}; virtual int runInner() { return 0; }; |