]> git.tdb.fi Git - builder.git/blob - source/executable.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / executable.h
1 #ifndef EXECUTABLE_H_
2 #define EXECUTABLE_H_
3
4 #include "binary.h"
5
6 class Executable: public Binary
7 {
8 public:
9         Executable(Builder &, const Msp::FS::Path &);
10         Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
11 private:
12         static std::string generate_filename(const Component &);
13
14 public:
15         virtual const char *get_type() const { return "Executable"; }
16 };
17
18 #endif