Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60688 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2010-03-18 04:06:52


Author: vladimir_prus
Date: 2010-03-18 04:06:50 EDT (Thu, 18 Mar 2010)
New Revision: 60688
URL: http://svn.boost.org/trac/boost/changeset/60688

Log:
Revert 60652.
The 'alias' rule passes 'no-rename' to main-target-sources,
and targets.create-metatarget does not, presently, support
that. As result:

      alias a :
        [ python-extension xxx ]
        [ bpl-test yyy : xxx ]
        ;

Does not work since 'xxx' gets renamed to a..xxx.

We obviously need to handle 'no-rename', but for now,
just revert the patch.

Text files modified:
   trunk/tools/build/v2/build/alias.jam | 12 +++++++++---
   1 files changed, 9 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/build/alias.jam
==============================================================================
--- trunk/tools/build/v2/build/alias.jam (original)
+++ trunk/tools/build/v2/build/alias.jam 2010-03-18 04:06:50 EDT (Thu, 18 Mar 2010)
@@ -58,9 +58,15 @@
 {
     local project = [ project.current ] ;
 
- return [ targets.create-metatarget alias-target-class : $(project)
- : $(name) : $(sources) : $(requirements)
- : $(default-build) : $(usage-requirements) ] ;
+ targets.main-target-alternative
+ [ new alias-target-class $(name) : $(project)
+ : [ targets.main-target-sources $(sources) : $(name) : no-renaming ]
+ : [ targets.main-target-requirements $(requirements) : $(project) ]
+ : [ targets.main-target-default-build $(default-build) : $(project)
+ ]
+ : [ targets.main-target-usage-requirements $(usage-requirements) :
+ $(project) ]
+ ] ;
 }
 
 


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