From 89a9f8174ec858bf6df8515a84f061f211dec551 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Jul 2016 17:10:51 +0200 Subject: Add import library target libi{}, make libs{} the DLL In the end, having libs{} be the DLL with import library being its member is more natural than making libs{} the import library and having dll{} as its member. --- build2/bin/target | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build2/bin/target') diff --git a/build2/bin/target b/build2/bin/target index 8c32e84..849316e 100644 --- a/build2/bin/target +++ b/build2/bin/target @@ -107,6 +107,18 @@ namespace build2 static const target_type static_type; virtual const target_type& dynamic_type () const {return static_type;} }; + + // Windows import library. + // + class libi: public file + { + public: + using file::file; + + public: + static const target_type static_type; + virtual const target_type& dynamic_type () const {return static_type;} + }; } } -- cgit v1.1