|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83785 - trunk/tools/build/v2/build
From: steven_at_[hidden]
Date: 2013-04-06 18:29:42
Author: steven_watanabe
Date: 2013-04-06 18:29:41 EDT (Sat, 06 Apr 2013)
New Revision: 83785
URL: http://svn.boost.org/trac/boost/changeset/83785
Log:
Only print the target name, not the full target reference.
Text files modified:
trunk/tools/build/v2/build/configure.jam | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/build/configure.jam
==============================================================================
--- trunk/tools/build/v2/build/configure.jam (original)
+++ trunk/tools/build/v2/build/configure.jam 2013-04-06 18:29:41 EDT (Sat, 06 Apr 2013)
@@ -202,8 +202,6 @@
rule builds ( metatarget-reference : properties * : what ? : retry ? )
{
- what ?= "$(metatarget-reference) builds" ;
-
# FIXME: This should not be hardcoded. Other checks might want to consider a
# different set of features as relevant.
local toolset = [ property.select <toolset> : $(properties) ] ;
@@ -215,6 +213,13 @@
local t = [ targets.current ] ;
local p = [ $(t).project ] ;
+ if ! $(what)
+ {
+ local resolved = [ targets.resolve-reference $(metatarget-reference) : $(p) ] ;
+ local name = [ $(resolved[1]).name ] ;
+ what = "$(name) builds" ;
+ }
+
return [ builds-raw $(metatarget-reference) : $(p) : $(ps) : $(what) :
$(retry) ] ;
}
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