diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-19 17:10:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-19 17:10:51 +0200 |
commit | 89a9f8174ec858bf6df8515a84f061f211dec551 (patch) | |
tree | 030daad1364ea38a4f2ec22c57b41aeeb8b1b6e8 /build2/bin/target | |
parent | 3ec07c196c9ab86db09c77bff7eb11cd5a5a9b1e (diff) |
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.
Diffstat (limited to 'build2/bin/target')
-rw-r--r-- | build2/bin/target | 12 |
1 files changed, 12 insertions, 0 deletions
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;} + }; } } |