X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.h;h=b689a1d4fab8368f2ccd45a23dd7e57129a1a889;hb=c51e8844f19c31b2809ba459a1659d3b94a86f89;hp=9f694d877dbc5e9218ce1cf0f5e60be18e977e3a;hpb=632361796a7ddadf8a726526c937fab22281fb7b;p=builder.git diff --git a/source/binary.h b/source/binary.h index 9f694d8..b689a1d 100644 --- a/source/binary.h +++ b/source/binary.h @@ -10,16 +10,17 @@ class ObjectFile; Produces a binary file, which may be either a standalone executable or a shared library. */ -class Binary: public virtual FileTarget +class Binary: public FileTarget { protected: - Binary(Builder &, const Component &, const std::list &); -public: - virtual void find_depends(); -protected: - /** Returns the path for the binary. We can't do this in the constructor - since we need to pass the value to the Target c'tor. */ - static Msp::FS::Path generate_target_path(const Component &); + std::list objects; + + Binary(Builder &, const Msp::FS::Path &); + Binary(Builder &, const Component &, const std::string &, const std::list &); + + virtual void find_dependencies(); + + virtual std::string create_build_signature() const; }; #endif