]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
Move the Component reference to Target and make it a pointer
[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 public:
15         StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
16
17         virtual const char *get_type() const { return "StaticLibrary"; }
18 private:
19         static Msp::FS::Path generate_target_path(const Component &);
20 };
21
22 #endif