X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.h;h=d763dd572f97b084a9f9c7aa0b5bd831eaa632ac;hb=HEAD;hp=ac5a855a8d2c54cf178edba7850879db58d08ab1;hpb=451ef4f33b5a57dcb56bd7cb671bed359ac86247;p=builder.git diff --git a/source/binary.h b/source/binary.h deleted file mode 100644 index ac5a855..0000000 --- a/source/binary.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef BINARY_H_ -#define BINARY_H_ - -#include "buildinfo.h" -#include "filetarget.h" - -class Component; -class ObjectFile; - -/** -Produces a binary file, which may be either a standalone executable or a shared -library. -*/ -class Binary: public FileTarget -{ -private: - BuildInfo static_binfo; - -protected: - std::vector objects; - - Binary(Builder &b, const Msp::FS::Path &p): FileTarget(b, p) { } - Binary(Builder &, const Component &, const std::string &, const std::vector &); - -public: - void collect_build_info(BuildInfo &) const override; - -protected: - void find_dependencies() override; -private: - void find_dependencies(Target *, std::vector &, std::vector &, std::vector &); -}; - -#endif