Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52175 - trunk
From: ghost_at_[hidden]
Date: 2009-04-04 17:18:29


Author: vladimir_prus
Date: 2009-04-04 17:18:28 EDT (Sat, 04 Apr 2009)
New Revision: 52175
URL: http://svn.boost.org/trac/boost/changeset/52175

Log:
If no --with or --without option is specified, refer to project-config.

Text files modified:
   trunk/Jamroot | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/Jamroot
==============================================================================
--- trunk/Jamroot (original)
+++ trunk/Jamroot 2009-04-04 17:18:28 EDT (Sat, 04 Apr 2009)
@@ -252,6 +252,15 @@
    local argv = [ modules.peek : ARGV ] ;
    local with-parameter = [ MATCH --with-(.*) : $(argv) ] ;
    local without-parameter = [ MATCH --without-(.*) : $(argv) ] ;
+
+ if ! $(with-parameter) && ! $(without-parameter)
+ {
+ # Nothing is specified on command line. See if maybe
+ # project-config.jam has some choices.
+ local project-config-libs = [ modules.peek project-config : libraries ] ;
+ with-parameter = [ MATCH --with-(.*) : $(project-config-libs) ] ;
+ without-parameter = [ MATCH --without-(.*) : $(project-config-libs) ] ;
+ }
 
    # Do some checks.
    if $(with-parameter) && $(without-parameter)


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