]> git.tdb.fi Git - builder.git/blobdiff - source/msvccompiler.h
Redesign how tools are run
[builder.git] / source / msvccompiler.h
index bf2524ac7552da03ecca4cd06d5b1a6f8e495418..484fe46ec1c88bdcf3fbda7acc51795e02170e27 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;
 
 public:
-       Task *run(const Target &) const override;
+       static Task *_run(const ObjectFile &);
 };
 
 #endif