]> git.tdb.fi Git - libs/game.git/blob - tools/builder-plugin/gamesetupgenerator.h
Create a builder plugin for the setup generator tool
[libs/game.git] / tools / builder-plugin / gamesetupgenerator.h
1 #ifndef GAMESETUPGENERATOR_H_
2 #define GAMESETUPGENERATOR_H_
3
4 #include <msp/builder/csourcefile.h>
5 #include <msp/builder/tool.h>
6
7 class GameSetupGenerator: public Tool
8 {
9 public:
10         GameSetupGenerator(Builder &);
11
12         Target *create_source(const Component &, const Msp::FS::Path &) const override;
13         Target *create_target(const std::vector<Target *> &, const std::string &) override;
14
15 private:
16         static ExternalTask::Arguments _run(const CSourceFile &, Msp::FS::Path &);
17 };
18
19 #endif