X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.h;h=ac5a855a8d2c54cf178edba7850879db58d08ab1;hb=c8c51fac9453a677fc3e6932c4730f35e237af89;hp=303bd51fa60589de50f6cc6ff229f0f44ce87af1;hpb=2606b03da59dc10e3826b833a2fceb0831d79972;p=builder.git diff --git a/source/binary.h b/source/binary.h index 303bd51..ac5a855 100644 --- a/source/binary.h +++ b/source/binary.h @@ -1,6 +1,7 @@ #ifndef BINARY_H_ #define BINARY_H_ +#include "buildinfo.h" #include "filetarget.h" class Component; @@ -12,12 +13,22 @@ library. */ class Binary: public FileTarget { +private: + BuildInfo static_binfo; + protected: - Binary(Builder &, const Msp::FS::Path &); - Binary(Builder &, const Component &, const std::string &, const std::list &); + 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: - virtual void find_depends(); + void collect_build_info(BuildInfo &) const override; + +protected: + void find_dependencies() override; +private: + void find_dependencies(Target *, std::vector &, std::vector &, std::vector &); }; #endif