Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52170 - trunk/tools/build/v2
From: ghost_at_[hidden]
Date: 2009-04-04 14:54:13


Author: vladimir_prus
Date: 2009-04-04 14:54:12 EDT (Sat, 04 Apr 2009)
New Revision: 52170
URL: http://svn.boost.org/trac/boost/changeset/52170

Log:
Implement project-config.jam loading.

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

Modified: trunk/tools/build/v2/build-system.jam
==============================================================================
--- trunk/tools/build/v2/build-system.jam (original)
+++ trunk/tools/build/v2/build-system.jam 2009-04-04 14:54:12 EDT (Sat, 04 Apr 2009)
@@ -388,6 +388,15 @@
             ECHO "notice: User configuration file loading explicitly disabled." ;
         }
     }
+
+ initialize-config-module project-config ;
+
+ if [ project.find "." : "." ]
+ {
+ local project-module = [ project.load "." ] ;
+ local root = [ project.attribute $(project-module) project-root ] ;
+ load-config project-config : project-config.jam : $(root) ;
+ }
 }
 
 


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