]> git.tdb.fi Git - builder.git/blob - source/sharedlibrary.h
Refactor package configuration
[builder.git] / source / sharedlibrary.h
1 #ifndef SHAREDLIB_H_
2 #define SHAREDLIB_H_
3
4 #include "executable.h"
5
6 /**
7 Represents a shared library.  Mainly exists to give extra information to the
8 user.
9 */
10 class SharedLibrary: public Executable
11 {
12 public:
13         SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
14         const char        *get_type() const    { return "SharedLibrary"; }
15         const std::string &get_libname() const { return libname; }
16 private:
17         std::string libname;
18 };
19
20 #endif