X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=7d6ea28b46d70b8e656573a1826a690e0d4a9b95;hb=7aeaa4ba965f596edad438c02e345a8843f7469a;hp=3e34851e4abef92fa2ceb8a04068e4741a03b870;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/executable.h b/source/executable.h index 3e34851..7d6ea28 100644 --- a/source/executable.h +++ b/source/executable.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef EXECUTABLE_H_ #define EXECUTABLE_H_ @@ -6,12 +13,18 @@ class Component; class ObjectFile; +/** +Produces a binary file, which may be either a standalone executable or a shared +library. +*/ class Executable: public Target { public: Executable(Builder &, const Component &, const std::list &); - const char *get_type() const { return "Executable"; } - void find_depends() { } + const char *get_type() const { return "Executable"; } + const Component &get_component() const { return comp; } + void find_depends(); + Action *build(); private: const Component ∁