X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=967aaf97c7ec0c8044eaf0c48965122029732eb5;hb=74ea8208bb1aa1d9afc9657a4cdfac6714241887;hp=f118b8762b0ab568cc2ad8ae5e88a1299a754c5d;hpb=0d80cabf649b931b26e7055385156c75a7385d35;p=builder.git diff --git a/source/executable.h b/source/executable.h index f118b87..967aaf9 100644 --- a/source/executable.h +++ b/source/executable.h @@ -1,22 +1,18 @@ #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 &); - const char *get_type() const { return "Executable"; } - void find_depends(); - Action *build(); private: - const Component ∁ + static std::string generate_filename(const Component &); - static std::string generate_target_name(const Component &); +public: + virtual const char *get_type() const { return "Executable"; } }; #endif