Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2007-10-15 08:33:21


Author: vladimir_prus
Date: 2007-10-15 08:33:20 EDT (Mon, 15 Oct 2007)
New Revision: 40043
URL: http://svn.boost.org/trac/boost/changeset/40043

Log:
Commit forgotten changes
Text files modified:
   branches/build/python_port/pybb.jam | 31 +++++++++++++++++++++++++++----
   1 files changed, 27 insertions(+), 4 deletions(-)

Modified: branches/build/python_port/pybb.jam
==============================================================================
--- branches/build/python_port/pybb.jam (original)
+++ branches/build/python_port/pybb.jam 2007-10-15 08:33:20 EDT (Mon, 15 Oct 2007)
@@ -19,12 +19,28 @@
         module $(module-name)
         {
             __name__ = $(1) ;
- include $(2) ;
- local rules = [ RULENAMES $(1) ] ;
- IMPORT $(1) : $(rules) : $(1) : $(1).$(rules) ;
+ include $(2) ;
+ local rules = [ RULENAMES $(1) ] ;
+ IMPORT $(1) : $(rules) : $(1) : $(1).$(rules) ;
         }
     }
     
+ rule peek ( module-name ? : variables + )
+ {
+ module $(<)
+ {
+ return $($(>)) ;
+ }
+ }
+
+ rule set-variable ( module-name : name : value * )
+ {
+ module $(<)
+ {
+ $(>) = $(3) ;
+ }
+ }
+
     rule set-top-level-targets ( targets * )
     {
         DEPENDS all : $(targets) ;
@@ -39,12 +55,19 @@
     {
         $(variable) on $(targets) = $(value) ;
     }
+
+ rule import-rules-from-parent ( parent-module : this-module : user-rules )
+ {
+ IMPORT $(parent-module) : $(user-rules) : $(this-module) : $(user-rules) ;
+ EXPORT $(this-module) : $(user-rules) ;
+ }
+
 }
 
 
 PYTHON_IMPORT_RULE boost.build.main : main : PyBB : main ;
 
 module PyBB
-{
+{
     main ;
 }


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