X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Fbinary.h;h=b4357581fc905fde0b5110cac788f4149306196e;hb=cd993966c0729074329df1a59ad46c82c68c0928;hp=5239dc3fc0e06411df34d1f033b5c9b30abe82c8;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/binary.h b/source/binary.h index 5239dc3..b435758 100644 --- a/source/binary.h +++ b/source/binary.h @@ -10,19 +10,15 @@ 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: - const Component ∁ + std::list objects; - Binary(Builder &, const Component &, const std::list &); -public: - const Component &get_component() const { return comp; } - 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 &); + Binary(Builder &, const Msp::FS::Path &); + Binary(Builder &, const Component &, const std::string &, const std::list &); + + virtual void find_dependencies(); }; #endif