3 This file is part of builder
4 Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
17 Produces a binary file, which may be either a standalone executable or a shared
20 class Executable: public Target
23 const Component ∁
26 Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
27 virtual const char *get_type() const { return "Executable"; }
28 const Component &get_component() const { return comp; }
29 virtual void find_depends();
31 virtual Action *create_action();
33 /** Returns the name for the executable. We can't do this in the
34 constructor since we need to pass the value to the Target c'tor. */
35 static std::string generate_target_name(const Component &);