]> git.tdb.fi Git - builder.git/blobdiff - source/importlibrary.h
Use a separate category for import library filename patterns
[builder.git] / source / importlibrary.h
index 86d26f45d201981f52f82f2c4d22bb245fefa71f..7f7167b7ed3acdf8d0156cc248b5c070e16b0a23 100644 (file)
@@ -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