]> git.tdb.fi Git - builder.git/blobdiff - plugins/msvc/msvclinker.h
Rearrange sources into subdirectories
[builder.git] / plugins / msvc / msvclinker.h
diff --git a/plugins/msvc/msvclinker.h b/plugins/msvc/msvclinker.h
new file mode 100644 (file)
index 0000000..fe98c7d
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef MSVCLINKER_H_
+#define MSVCLINKER_H_
+
+#include <msp/builder/tool.h>
+
+class Binary;
+class MicrosoftTools;
+
+class MsvcLinker: public Tool
+{
+private:
+       const MicrosoftTools &ms_tools;
+
+public:
+       MsvcLinker(Builder &, const Architecture &, const MicrosoftTools &);
+
+       Target *create_target(const std::vector<Target *> &, const std::string &) override;
+       std::string create_build_signature(const BuildInfo &) const override;
+
+protected:
+       void do_prepare(ToolData &data) const override;
+
+public:
+       static ExternalTask::Arguments _run(const Binary &, Msp::FS::Path &);
+};
+
+#endif