]> git.tdb.fi Git - builder.git/blob - source/msvccompiler.h
Add drivers for the MSVC toolchain
[builder.git] / source / msvccompiler.h
1 #ifndef MSVCCOMPILER_H_
2 #define MSVCCOMPILER_H_
3
4 #include "tool.h"
5
6 class MicrosoftTools;
7
8 class MsvcCompiler: public Tool
9 {
10 private:
11         const MicrosoftTools &ms_tools;
12
13 public:
14         MsvcCompiler(Builder &, const Architecture &, const std::string &, const MicrosoftTools &);
15
16         virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
17         virtual Target *create_source(const Msp::FS::Path &) const;
18         virtual Target *create_target(const std::list<Target *> &, const std::string &);
19         virtual std::string create_build_signature(const BuildInfo &) const;
20
21 protected:
22         virtual void do_prepare();
23
24 public:
25         virtual Task *run(const Target &) const;
26 };
27
28 #endif