From 70ec3eba9ef98e018e0491b559874c41734193c7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Jul 2016 09:32:04 +0200 Subject: Make .pdb ad hoc group member, install --- build2/cxx/module.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build2/cxx/module.cxx') diff --git a/build2/cxx/module.cxx b/build2/cxx/module.cxx index a4afe44..6a5469c 100644 --- a/build2/cxx/module.cxx +++ b/build2/cxx/module.cxx @@ -365,6 +365,13 @@ namespace build2 { 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