]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
Add comments
[builder.git] / source / staticlibrary.h
1 #ifndef STATICLIB_H_
2 #define STATICLIB_H_
3
4 #include "target.h"
5
6 class Component;
7 class ObjectFile;
8
9 /**
10 A static library target.
11 */
12 class StaticLibrary: public Target
13 {
14 public:
15         StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
16         const char      *get_type() const      { return "StaticLibrary"; }
17         const Component &get_component() const { return comp; }
18         Action          *build();
19 private:
20         const Component &comp;
21
22         std::string generate_target_name(const Component &);
23 };
24
25 #endif