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/cxx/module.cxx | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'build2/cxx/module.cxx') diff --git a/build2/cxx/module.cxx b/build2/cxx/module.cxx index 69e76a3..8972bf9 100644 --- a/build2/cxx/module.cxx +++ b/build2/cxx/module.cxx @@ -258,7 +258,6 @@ namespace build2 const string& cid (cast (r["cxx.id"])); const string& tsys (cast (r["cxx.target.system"])); - const string& tclass (cast (r["cxx.target.class"])); // Initialize the bin module. Only do this if it hasn't already been // loaded so that we don't overwrite user's bin.* settings. @@ -361,21 +360,6 @@ namespace build2 install_path (b, dir_path ("include")); install_path (b, dir_path ("include")); - // Create additional target types for certain target platforms. - // - if (tclass == "windows") - { - const target_type& dll (b.derive_target_type ("dll").first); - install_path (dll, b, dir_path ("bin")); - - if (cid == "msvc") - { - const target_type& pdb (b.derive_target_type ("pdb").first); - install_path (pdb, b, dir_path ("bin")); - install_mode (pdb, b, "644"); - } - } - return true; } } -- cgit v1.1