Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54881 - branches/release
From: ghost_at_[hidden]
Date: 2009-07-11 07:05:51


Author: vladimir_prus
Date: 2009-07-11 07:05:50 EDT (Sat, 11 Jul 2009)
New Revision: 54881
URL: http://svn.boost.org/trac/boost/changeset/54881

Log:
Merge from trunk
Text files modified:
   branches/release/Jamroot | 37 ++++++++++++++++++++++---------------
   1 files changed, 22 insertions(+), 15 deletions(-)

Modified: branches/release/Jamroot
==============================================================================
--- branches/release/Jamroot (original)
+++ branches/release/Jamroot 2009-07-11 07:05:50 EDT (Sat, 11 Jul 2009)
@@ -43,15 +43,14 @@
 # of the libraries. Note, that which variants get
 # built depends on what each library supports.
 #
-# minimal (default) - Builds the single
-# "release" version of the libraries. This
-# release corresponds to specifying:
-# "release <threading>multi <link>shared
-# <link>static <runtime-link>shared" as the
-# Boost.Build variant to build.
+# minimal (default) - Builds a minimal set of
+# variants. On Windows, these are static
+# multithreaded libraries in debug and release
+# modes, using shared runtime. On Linux, these
+# are static and shared multithreaded libraries
+# in release mode.
 #
-# complete - Attempts to build all possible
-# variations.
+# complete - Build all possible variations.
 #
 # --build-dir=DIR Build in this location instead of building
 # within the distribution tree. Recommended!
@@ -278,7 +277,21 @@
 
 # What kind of layout are we doing?
 layout = [ MATCH "^--layout=(.*)" : [ modules.peek : ARGV ] ] ;
-layout ?= versioned ;
+# On Windows, we used versioned layout by default in order to
+# be compatible with autolink. On other systems, we use system
+# layout which is what every other program uses. Note that windows
+# check is static, and won't
+if ! $(layout)
+{
+ if [ modules.peek : NT ]
+ {
+ layout = versioned ;
+ }
+ else
+ {
+ layout = system ;
+ }
+}
 layout-$(layout) = true ;
 
 
@@ -641,12 +654,6 @@
 libraries to a different location and remove the source tree.\n\n"
   ;
 
-
-# Just build the libraries, don't install them anywhere. This is what happens
-# with just "bjam --v2".
-alias build_all : libs/$(libraries)/build ;
-
-
 # This rule should be called from libraries' Jamfiles and will create two
 # targets, "install" and "stage", that will install or stage that library. The
 # --prefix option is respected, but --with and --without options, naturally, are


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