]> git.tdb.fi Git - builder.git/blobdiff - source/binary.h
Split Binary filename generation to Executable and SharedLibrary
[builder.git] / source / binary.h
index ef71a0691b6101df2661d59bf626a42e75978691..303bd51fa60589de50f6cc6ff229f0f44ce87af1 100644 (file)
@@ -14,13 +14,10 @@ class Binary: public FileTarget
 {
 protected:
        Binary(Builder &, const Msp::FS::Path &);
-       Binary(Builder &, const Component &, const std::list<ObjectFile *> &);
+       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 &);
 };
 
 #endif