]> git.tdb.fi Git - builder.git/blobdiff - source/executable.h
Make VirtualFileSystem able to find binaries
[builder.git] / source / executable.h
index 3e34851e4abef92fa2ceb8a04068e4741a03b870..d235e293617dee49c71541b7d20f53fcacf0b108 100644 (file)
@@ -1,21 +1,17 @@
 #ifndef EXECUTABLE_H_
 #define EXECUTABLE_H_
 
-#include "target.h"
+#include "binary.h"
 
-class Component;
-class ObjectFile;
-
-class Executable: public Target
+class Executable: public Binary
 {
 public:
+       Executable(Builder &, const Msp::FS::Path &);
        Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char *get_type() const { return "Executable"; }
-       void find_depends() { }
-private:
-       const Component &comp;
 
-       static std::string generate_target_name(const Component &);
+       virtual const char *get_type() const { return "Executable"; }
+private:
+       static std::string generate_filename(const Component &);
 };
 
 #endif