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:
- Binary(Builder &, const Component &, const std::list<ObjectFile *> &);
+ Binary(Builder &, const Msp::FS::Path &);
+ Binary(Builder &, const Component &, const std::string &, const std::list<ObjectFile *> &);
+
public:
- 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 &);
+ virtual void find_dependencies();
};
#endif