Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-07-07 23:44:06


Author: steven_watanabe
Date: 2008-07-07 23:44:06 EDT (Mon, 07 Jul 2008)
New Revision: 47207
URL: http://svn.boost.org/trac/boost/changeset/47207

Log:
Add rule for accessing a target variable
Text files modified:
   branches/build/python_port/pybb.jam | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: branches/build/python_port/pybb.jam
==============================================================================
--- branches/build/python_port/pybb.jam (original)
+++ branches/build/python_port/pybb.jam 2008-07-07 23:44:06 EDT (Mon, 07 Jul 2008)
@@ -64,6 +64,11 @@
         }
     }
 
+ rule get-target-variable ( target : variable )
+ {
+ return [ on $(target) return $($(variable)) ] ;
+ }
+
     rule import-rules-from-parent ( parent-module : this-module : user-rules )
     {
         IMPORT $(parent-module) : $(user-rules) : $(this-module) : $(user-rules) ;


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