summaryrefslogtreecommitdiff
path: root/boost-build.jam
diff options
context:
space:
mode:
authorVladimir Prus <ghost@cs.msu.su>2002-10-04 15:00:03 +0000
committerVladimir Prus <ghost@cs.msu.su>2002-10-04 15:00:03 +0000
commit545ab393a8b5cee1d1853f1b606f2796b4836f6e (patch)
treedc3af475c7bdfabd75339ddb7fc92d1edac771af /boost-build.jam
parent9377a00b8535873fbdb2133069a2ec9822d7a540 (diff)
downloadboost-545ab393a8b5cee1d1853f1b606f2796b4836f6e.tar.gz
Added V2 Jamfiles for some libraries. Arranged to "bjam --v2" to invoke new
build system. [SVN r15712]
Diffstat (limited to 'boost-build.jam')
-rw-r--r--boost-build.jam18
1 files changed, 17 insertions, 1 deletions
diff --git a/boost-build.jam b/boost-build.jam
index 0a2b927770..75542e4d71 100644
--- a/boost-build.jam
+++ b/boost-build.jam
@@ -1,2 +1,18 @@
BOOST_ROOT = $(.boost-build-file:D) ;
-boost-build tools/build ;
+if --v2 in $(ARGV)
+{
+ if $(JAM_VERSION:J="") < 030103
+ {
+ ECHO "error: Boost.Jam 3.1.3 or later required" ;
+ EXIT ;
+ }
+ else
+ {
+ JAMFILE = Jamfile.v2 ;
+ boost-build tools/build/new ;
+ }
+}
+else
+{
+ boost-build tools/build ;
+}