]> git.tdb.fi Git - builder.git/blob - source/datatool.h
Redesign how tools are run
[builder.git] / source / datatool.h
1 #ifndef DATACOMPILER_H_
2 #define DATACOMPILER_H_
3
4 #include "tool.h"
5
6 class DataTool: public Tool
7 {
8 public:
9         DataTool(Builder &);
10
11         Target *create_source(const Component &, const Msp::FS::Path &) const override;
12         Target *create_target(const std::vector<Target *> &, const std::string &) override;
13         std::string create_build_signature(const BuildInfo &) const override;
14
15 private:
16         static Task *_run(const Target &);
17 };
18
19 #endif