aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-15 09:32:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-15 09:32:04 +0200
commit70ec3eba9ef98e018e0491b559874c41734193c7 (patch)
tree5cee631331bf3df74b0ab6986738ddd49f296558 /build2/cxx/module.cxx
parentfd641f3f10499d4368822b0776ded4c47f152ae7 (diff)
Make .pdb ad hoc group member, install
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;