X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.h;h=303bd51fa60589de50f6cc6ff229f0f44ce87af1;hb=2606b03da59dc10e3826b833a2fceb0831d79972;hp=5239dc3fc0e06411df34d1f033b5c9b30abe82c8;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/binary.h b/source/binary.h index 5239dc3..303bd51 100644 --- a/source/binary.h +++ b/source/binary.h @@ -10,19 +10,14 @@ 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 ∁ + Binary(Builder &, const Msp::FS::Path &); + Binary(Builder &, const Component &, const std::string &, const std::list &); - 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 &); }; #endif