--- /dev/null
+#include "gameplugin.h"
+#include <msp/builder/toolchain.h>
+#include "gametools.h"
+
+void GamePlugin::add_tools(Toolchain &toolchain, const Architecture &) const
+{
+ toolchain.add_toolchain(new GameTools(builder));
+}
+
+
+#if defined(_WIN32)
+#define GAMETOOLS_API __declspec(dllexport)
+#elif defined(__GNUC__)
+#define GAMETOOLS_API __attribute__((visibility("default")))
+#else
+#define GAMETOOLS_API
+#endif
+
+extern "C"
+GAMETOOLS_API Plugin *create_plugin(Builder &builder)
+{
+ return new GamePlugin(builder);
+}