]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.h
Collapse the language-specific compilers into a single class
[builder.git] / source / gnucompiler.h
index 0c283e22827ac3f1afa05bdd4f6302bb032bd99d..0eb25d08c155ee836a575ca2d3d915a370c80efe 100644 (file)
@@ -12,13 +12,14 @@ appropriate type.
 */
 class GnuCompiler: public Tool
 {
-private:
-       std::string command;
-
 protected:
-       GnuCompiler(Builder &, const Architecture &, const std::string &, const std::string &);
+       std::string version;
 
 public:
+       GnuCompiler(Builder &, const Architecture &, const std::string &, const Msp::FS::Path & = Msp::FS::Path());
+
+       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<Target *> &, const std::string &);
        virtual std::string create_build_signature(const BuildInfo &) const;
 protected: