]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
Get rid of the Library and SystemLibrary classes as unnecessary abstractions
[builder.git] / source / staticlibrary.h
1 #ifndef STATICLIBRARY_H_
2 #define STATICLIBRARY_H_
3
4 #include "filetarget.h"
5
6 class Component;
7 class ObjectFile;
8
9 /**
10 A static library target.
11 */
12 class StaticLibrary: public FileTarget
13 {
14 public:
15         StaticLibrary(Builder &, const Msp::FS::Path &);
16         StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
17
18         virtual const char *get_type() const { return "StaticLibrary"; }
19 private:
20         static Msp::FS::Path generate_target_path(const Component &);
21 };
22
23 #endif