aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cxx/module.cxx')
-rw-r--r--build2/cxx/module.cxx7
1 files changed, 7 insertions, 0 deletions
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<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;