]> git.tdb.fi Git - builder.git/blobdiff - source/importlibrary.h
Give import libraries their own class
[builder.git] / source / importlibrary.h
diff --git a/source/importlibrary.h b/source/importlibrary.h
new file mode 100644 (file)
index 0000000..86d26f4
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef IMPORTLIBRARY_H_
+#define IMPORTLIBRARY_H_
+
+#include "filetarget.h"
+
+/**
+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
+{
+public:
+       ImportLibrary(Builder &, const Msp::FS::Path &);
+
+       virtual const char *get_type() const { return "ImportLibrary"; }
+};
+
+#endif