aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/module.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/cxx/module.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/cxx/module.cxx')
-rw-r--r--build2/cxx/module.cxx16
1 files changed, 0 insertions, 16 deletions
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<string> (r["cxx.id"]));
const string& tsys (cast<string> (r["cxx.target.system"]));
- const string& tclass (cast<string> (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<txx> (b, dir_path ("include"));
install_path<h> (b, dir_path ("include"));
- // Create additional target types for certain target platforms.
- //
- if (tclass == "windows")
- {
- const target_type& dll (b.derive_target_type<file> ("dll").first);
- install_path (dll, b, dir_path ("bin"));
-
- if (cid == "msvc")
- {
- const target_type& pdb (b.derive_target_type<file> ("pdb").first);
- install_path (pdb, b, dir_path ("bin"));
- install_mode (pdb, b, "644");
- }
- }
-
return true;
}
}