Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2007-11-12 17:29:49


Author: bemandawes
Date: 2007-11-12 17:29:48 EST (Mon, 12 Nov 2007)
New Revision: 41046
URL: http://svn.boost.org/trac/boost/changeset/41046

Log:
Change default to --v2
Text files modified:
   trunk/tools/regression/src/process_jam_log.cpp | 14 +++++++++++---
   1 files changed, 11 insertions(+), 3 deletions(-)

Modified: trunk/tools/regression/src/process_jam_log.cpp
==============================================================================
--- trunk/tools/regression/src/process_jam_log.cpp (original)
+++ trunk/tools/regression/src/process_jam_log.cpp 2007-11-12 17:29:48 EST (Mon, 12 Nov 2007)
@@ -28,7 +28,7 @@
 
 static bool echo = false;
 static bool create_dirs = false;
-static bool boost_build_v2 = false;
+static bool boost_build_v2 = true;
 
 namespace
 {
@@ -528,11 +528,14 @@
   std::ios::sync_with_stdio(false);
 
   if ( argc <= 1 )
- std::cout << "Usage: bjam [bjam-args] | process_jam_log [--echo] [--create-directories] [--v2] [locate-root]\n"
+ std::cout << "Usage: bjam [bjam-args] | process_jam_log [--echo] [--create-directories] [--v1|v2] [locate-root]\n"
                  "locate-root - the same as the bjam ALL_LOCATE_TARGET\n"
                  " parameter, if any. Default is boost-root.\n"
                  "create-directories - if the directory for xml file doesn't exists - creates it.\n"
- " usually used for processing logfile on different machine\n";
+ " usually used for processing logfile on different machine\n"
+ "v2 - bjam version 2 used (default).\n"
+ "v1 - bjam version 1 used.\n"
+ ;
 
   boost_root = fs::initial_path();
 
@@ -569,6 +572,11 @@
     --argc; ++argv;
   }
 
+ if ( argc > 1 && std::strcmp( argv[1], "--v1" ) == 0 )
+ {
+ boost_build_v2 = false;
+ --argc; ++argv;
+ }
 
   if (argc > 1)
   {


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