]> git.tdb.fi Git - builder.git/blobdiff - source/executable.h
Add gcc's private library directory to ClangLinker's system path
[builder.git] / source / executable.h
index f118b8762b0ab568cc2ad8ae5e88a1299a754c5d..5728e2f2eadf1db848b03943a037b61e40729d83 100644 (file)
@@ -1,22 +1,15 @@
 #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 Component &, const std::list<ObjectFile *> &);
-       const char *get_type() const { return "Executable"; }
-       void find_depends();
-       Action *build();
-private:
-       const Component &comp;
+       Executable(Builder &b, const Msp::FS::Path &p): Binary(b, p) { }
+       Executable(Builder &, const Component &, const std::vector<ObjectFile *> &);
 
-       static std::string generate_target_name(const Component &);
+       const char *get_type() const override { return "Executable"; }
 };
 
 #endif