]> git.tdb.fi Git - builder.git/blobdiff - source/msvccompiler.h
Refactor the use of external tasks in tools
[builder.git] / source / msvccompiler.h
index bf2524ac7552da03ecca4cd06d5b1a6f8e495418..2782c23aee25a6649da04a523525993493f8afdc 100644 (file)
@@ -4,6 +4,7 @@
 #include "tool.h"
 
 class MicrosoftTools;
+class ObjectFile;
 
 class MsvcCompiler: public Tool
 {
@@ -15,14 +16,14 @@ public:
 
        Target *create_source(const Component &, const Msp::FS::Path &) const override;
        Target *create_source(const Msp::FS::Path &) const override;
-       Target *create_target(const std::list<Target *> &, const std::string &) override;
+       Target *create_target(const std::vector<Target *> &, const std::string &) override;
        std::string create_build_signature(const BuildInfo &) const override;
 
 protected:
-       void do_prepare() override;
+       void do_prepare(ToolData &) const override;
 
 public:
-       Task *run(const Target &) const override;
+       static ExternalTask::Arguments _run(const ObjectFile &, Msp::FS::Path &);
 };
 
 #endif