]> git.tdb.fi Git - builder.git/blobdiff - source/binary.h
Properly support multiple choice features
[builder.git] / source / binary.h
index ef71a0691b6101df2661d59bf626a42e75978691..b689a1d4fab8368f2ccd45a23dd7e57129a1a889 100644 (file)
@@ -13,14 +13,14 @@ library.
 class Binary: public FileTarget
 {
 protected:
+       std::list<ObjectFile *> objects;
+
        Binary(Builder &, const Msp::FS::Path &);
-       Binary(Builder &, const Component &, 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 &);
+       Binary(Builder &, const Component &, const std::string &, const std::list<ObjectFile *> &);
+
+       virtual void find_dependencies();
+
+       virtual std::string create_build_signature() const;
 };
 
 #endif