aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-19 17:10:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-19 17:10:51 +0200
commit89a9f8174ec858bf6df8515a84f061f211dec551 (patch)
tree030daad1364ea38a4f2ec22c57b41aeeb8b1b6e8 /build2/bin/target.cxx
parent3ec07c196c9ab86db09c77bff7eb11cd5a5a9b1e (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.cxx')
-rw-r--r--build2/bin/target.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx
index 3f16467..d78d34c 100644
--- a/build2/bin/target.cxx
+++ b/build2/bin/target.cxx
@@ -261,5 +261,18 @@ namespace build2
&search_target,
false
};
+
+ // libi
+ //
+ const target_type libi::static_type
+ {
+ "libi",
+ &file::static_type,
+ &target_factory<libi>,
+ &target_extension_var<ext_var, nullptr>,
+ nullptr,
+ &search_file,
+ false
+ };
}
}