]> git.tdb.fi Git - builder.git/blob - source/systemlibrary.h
Refactor package configuration
[builder.git] / source / systemlibrary.h
1 #ifndef SYSTEMLIBRARY_H_
2 #define SYSTEMLIBRARY_H_
3
4 #include "target.h"
5
6 /**
7 A library that doesn't belong to any known package.
8 */
9 class SystemLibrary: public Target
10 {
11 public:
12         SystemLibrary(Builder &, const std::string &);
13         const char        *get_type() const    { return "SystemLibrary"; }
14         const std::string &get_libname() const { return libname; }
15         Action            *build()             { return 0; }
16 private:
17         std::string libname;
18 };
19
20 #endif