]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
Reorder class members
[builder.git] / source / staticlibrary.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef STATICLIB_H_
9 #define STATICLIB_H_
10
11 #include "target.h"
12
13 class Component;
14 class ObjectFile;
15
16 /**
17 A static library target.
18 */
19 class StaticLibrary: public Target
20 {
21 private:
22         const Component ∁
23
24 public:
25         StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
26         virtual const char *get_type() const { return "StaticLibrary"; }
27         const Component &get_component() const { return comp; }
28 private:
29         virtual Action *create_action();
30
31         static std::string generate_target_name(const Component &);
32 };
33
34 #endif