]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
451e9f8aedc5b23a35d6308738aa6d9c9fd8aadc
[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 std::string generate_filename(const Component &);
21 };
22
23 #endif