summaryrefslogtreecommitdiff
path: root/boost-build.jam
diff options
context:
space:
mode:
authorRene Rivera <grafikrobot@gmail.com>2007-11-20 18:05:45 +0000
committerRene Rivera <grafikrobot@gmail.com>2007-11-20 18:05:45 +0000
commit20c618871859b14ab6353622a422e8a4a2682a29 (patch)
tree99980ba686f45b8dbd3f2a3eb2dfa1b9360d4e97 /boost-build.jam
parent42f0fea0a3ce9c08003cf71d19699e6f0d2be82f (diff)
downloadboost-20c618871859b14ab6353622a422e8a4a2682a29.tar.gz
Merge 41260 from trunk. Allow indication of the Boost.Build location with an argument. This allows to override the built-in BB when testing.
[SVN r41261]
Diffstat (limited to 'boost-build.jam')
-rw-r--r--boost-build.jam10
1 files changed, 6 insertions, 4 deletions
diff --git a/boost-build.jam b/boost-build.jam
index dda1ba26cc..33fcf8a3e9 100644
--- a/boost-build.jam
+++ b/boost-build.jam
@@ -1,9 +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) ;