5 #include "filetarget.h"
6 #include "libbuilder_api.h"
12 Produces a binary file, which may be either a standalone executable or a shared
15 class LIBBUILDER_API Binary: public FileTarget
18 BuildInfo static_binfo;
21 std::vector<ObjectFile *> objects;
23 Binary(Builder &b, const Msp::FS::Path &p): FileTarget(b, p) { }
24 Binary(Builder &, const Component &, const std::string &, const std::vector<ObjectFile *> &);
27 const std::vector<ObjectFile *> &get_objects() const { return objects; }
28 void collect_build_info(BuildInfo &) const override;
31 void find_dependencies() override;
33 void find_dependencies(Target *, std::vector<Target *> &, std::vector<Target *> &, std::vector<std::string> &);