]> git.tdb.fi Git - builder.git/blobdiff - source/binary.h
Don't print the configuration header in help for empty configuration
[builder.git] / source / binary.h
index 7c1a701bcc973e43f675346819e0df4a10f80c01..b689a1d4fab8368f2ccd45a23dd7e57129a1a889 100644 (file)
@@ -10,21 +10,17 @@ 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 ∁
+       std::list<ObjectFile *> objects;
 
-       Binary(Builder &, const Component &, const std::list<ObjectFile *> &);
-public:
-       const Component &get_component() const { return comp; }
-       virtual void find_depends();
-protected:
-       virtual Action *create_action();
+       Binary(Builder &, const Msp::FS::Path &);
+       Binary(Builder &, const Component &, const std::string &, const std::list<ObjectFile *> &);
+
+       virtual void find_dependencies();
 
-       /** 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 std::string create_build_signature() const;
 };
 
 #endif