X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fimportlibrary.h;h=7f7167b7ed3acdf8d0156cc248b5c070e16b0a23;hb=da4075117e3ad3a340e0d23fa7d53a9009305a61;hp=86d26f45d201981f52f82f2c4d22bb245fefa71f;hpb=728b2f65fadd5fb5f000d908efa414027123f964;p=builder.git diff --git a/source/importlibrary.h b/source/importlibrary.h index 86d26f4..7f7167b 100644 --- a/source/importlibrary.h +++ b/source/importlibrary.h @@ -3,16 +3,28 @@ #include "filetarget.h" +class ExportDefinitions; +class SharedLibrary; + /** A special case of static library which pulls in a shared library. Used on platforms with no true dynamic linking support. */ class ImportLibrary: public FileTarget { +private: + SharedLibrary *shared_lib; + public: ImportLibrary(Builder &, const Msp::FS::Path &); + ImportLibrary(Builder &, const Component &, SharedLibrary &, ExportDefinitions &); +private: + static std::string generate_filename(const Component &, const SharedLibrary &); +public: virtual const char *get_type() const { return "ImportLibrary"; } + + SharedLibrary *get_shared_library() const { return shared_lib; } }; #endif