]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
Big rewrite for a more tool-centric approach
[builder.git] / source / staticlibrary.h
1 #ifndef STATICLIBRARY_H_
2 #define STATICLIBRARY_H_
3
4 #include "library.h"
5
6 class Component;
7 class ObjectFile;
8
9 /**
10 A static library target.
11 */
12 class StaticLibrary: public Library
13 {
14 private:
15         const Component ∁
16
17 public:
18         StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
19
20         virtual const char *get_type() const { return "StaticLibrary"; }
21         const Component &get_component() const { return comp; }
22 private:
23         static Msp::FS::Path generate_target_path(const Component &);
24 };
25
26 #endif