Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-11-20 12:51:22


Author: grafik
Date: 2007-11-20 12:51:21 EST (Tue, 20 Nov 2007)
New Revision: 41260
URL: http://svn.boost.org/trac/boost/changeset/41260

Log:
Allow indication of the Boost.Build location with an argument. This allows to override the built-in BB when testing.
Text files modified:
   trunk/boost-build.jam | 11 ++++++-----
   1 files changed, 6 insertions(+), 5 deletions(-)

Modified: trunk/boost-build.jam
==============================================================================
--- trunk/boost-build.jam (original)
+++ trunk/boost-build.jam 2007-11-20 12:51:21 EST (Tue, 20 Nov 2007)
@@ -1,10 +1,11 @@
-#~ Copyright (C) 2002-2003, David Abrahams.
-#~ Copyright (C) 2002-2003, Vladimir Prus.
-#~ Copyright (C) 2003, Rene Rivera.
+#~ Copyright (C) 2002-2003 David Abrahams.
+#~ Copyright (C) 2002-2003 Vladimir Prus.
+#~ Copyright (C) 2003,2007 Rene Rivera.
 #~ Use, modification and distribution are subject to the
 #~ Boost Software License, Version 1.0. (See accompanying file
 #~ LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 BOOST_ROOT = $(.boost-build-file:D) ;
-boost-build tools/build/v2 ;
-
+BOOST_BUILD = [ MATCH --boost-build=(.*) : $(ARGV) ] ;
+BOOST_BUILD ?= tools/build/v2 ;
+boost-build $(BOOST_BUILD) ;


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