]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
033e98a0e2cc889fe061967e7cfe071cc9e3d6de
[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 private:
18         static std::string generate_filename(const Component &);
19
20 public:
21         virtual const char *get_type() const { return "StaticLibrary"; }
22 };
23
24 #endif