]> git.tdb.fi Git - builder.git/blob - source/gnucompiler.h
Big rewrite for a more tool-centric approach
[builder.git] / source / gnucompiler.h
1 #ifndef GNUCOMPILER_H_
2 #define GNUCOMPILER_H_
3
4 #include "tool.h"
5
6 class GnuCompiler: public Tool
7 {
8 protected:
9         std::string name;
10
11         GnuCompiler(Builder &, const std::string &, const std::string &);
12
13 public:
14         virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
15         virtual Target *create_target(const std::list<Target *> &, const std::string &) const;
16         virtual Task *run(const Target &) const;
17 };
18
19 #endif