|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55735 - in branches/release/tools/build/v2: . tools
From: ghost_at_[hidden]
Date: 2009-08-23 12:20:59
Author: vladimir_prus
Date: 2009-08-23 12:20:59 EDT (Sun, 23 Aug 2009)
New Revision: 55735
URL: http://svn.boost.org/trac/boost/changeset/55735
Log:
Merge: Use right name of PDB file, even if tag rule doesn't handle PDB.
Properties modified:
branches/release/tools/build/v2/ (props changed)
Text files modified:
branches/release/tools/build/v2/tools/msvc.jam | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Modified: branches/release/tools/build/v2/tools/msvc.jam
==============================================================================
--- branches/release/tools/build/v2/tools/msvc.jam (original)
+++ branches/release/tools/build/v2/tools/msvc.jam 2009-08-23 12:20:59 EDT (Sun, 23 Aug 2009)
@@ -1036,9 +1036,12 @@
if [ $(property-set).get <debug-symbols> ] = "on"
{
- # PDB is 'good' target -- the basename is the same of for main target, with
- # .pdb as extension
- local target = [ class.new file-target $(name) : PDB : $(project) : $(action) ] ;
+ # We force exact name on PDB. The reason is tagging -- the tag rule may
+ # reasonably special case some target types, like SHARED_LIB. The tag rule
+ # will not catch PDB, and it cannot even easily figure if PDB is paired with
+ # SHARED_LIB or EXE or something else. Because PDB always get the
+ # same name as the main target, with .pdb as extension, just force it.
+ local target = [ class.new file-target $(name-main:S=.pdb) exact : PDB : $(project) : $(action) ] ;
local registered-target = [ virtual-target.register $(target) ] ;
if $(target) != $(registered-target)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk