]> git.tdb.fi Git - builder.git/blobdiff - source/importlibrary.h
Build and install import libraries on windows
[builder.git] / source / importlibrary.h
index 86d26f45d201981f52f82f2c4d22bb245fefa71f..99db24d26fac2a0a1134f94d6cc37f0a598fed95 100644 (file)
@@ -3,16 +3,25 @@
 
 #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 &, ExportDefinitions &);
 
        virtual const char *get_type() const { return "ImportLibrary"; }
+
+       SharedLibrary *get_shared_library() const { return shared_lib; }
 };
 
 #endif