]> git.tdb.fi Git - libs/game.git/blobdiff - tools/builder-plugin/gameplugin.h
Create a builder plugin for the setup generator tool
[libs/game.git] / tools / builder-plugin / gameplugin.h
diff --git a/tools/builder-plugin/gameplugin.h b/tools/builder-plugin/gameplugin.h
new file mode 100644 (file)
index 0000000..3e3cdae
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef GAMEPLUGIN_H_
+#define GAMEPLUGIN_H_
+
+#include <msp/builder/plugin.h>
+
+class GamePlugin: public Plugin
+{
+public:
+       GamePlugin(Builder &b): Plugin(b) { }
+
+       void add_tools(Toolchain &, const Architecture &) const override;
+};
+
+#endif