Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57979 - trunk/tools/build/v2
From: ghost_at_[hidden]
Date: 2009-11-27 15:14:53


Author: vladimir_prus
Date: 2009-11-27 15:14:52 EST (Fri, 27 Nov 2009)
New Revision: 57979
URL: http://svn.boost.org/trac/boost/changeset/57979

Log:
Implement --keep-going option.

Text files modified:
   trunk/tools/build/v2/build-system.jam | 15 +++++++++++++++
   1 files changed, 15 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-11-27 15:14:52 EST (Fri, 27 Nov 2009)
@@ -904,6 +904,21 @@
         modules.poke : PARALLELISM : $(j) ;
     }
     
+ local k = [ option.get keep-going : false : true ] ;
+ if $(k) in "on" "yes" "true"
+ {
+ modules.poke : KEEP_GOING : 1 ;
+ }
+ else if $(k) in "off" "no" "false"
+ {
+ modules.poke : KEEP_GOING : 0 ;
+ }
+ else
+ {
+ ECHO "error: Invalid value for the --keep-going option" ;
+ EXIT ;
+ }
+
     # The 'all' pseudo target is not strictly needed expect in the case when we
     # use it below but people often assume they always have this target
     # available and do not declare it themselves before use which may cause


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