X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmsvccompiler.h;fp=source%2Fmsvccompiler.h;h=2a6f91fdb32ccb9bf4ba9e8adeae750932fbfe03;hb=c0e0728ff439ddb364cee26f164e46705beac822;hp=0000000000000000000000000000000000000000;hpb=650560b14cac4bb35589b5b8db99197c5e1345cc;p=builder.git diff --git a/source/msvccompiler.h b/source/msvccompiler.h new file mode 100644 index 0000000..2a6f91f --- /dev/null +++ b/source/msvccompiler.h @@ -0,0 +1,28 @@ +#ifndef MSVCCOMPILER_H_ +#define MSVCCOMPILER_H_ + +#include "tool.h" + +class MicrosoftTools; + +class MsvcCompiler: public Tool +{ +private: + const MicrosoftTools &ms_tools; + +public: + MsvcCompiler(Builder &, const Architecture &, const std::string &, const MicrosoftTools &); + + virtual Target *create_source(const Component &, const Msp::FS::Path &) const; + virtual Target *create_source(const Msp::FS::Path &) const; + virtual Target *create_target(const std::list &, const std::string &); + virtual std::string create_build_signature(const BuildInfo &) const; + +protected: + virtual void do_prepare(); + +public: + virtual Task *run(const Target &) const; +}; + +#endif