Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55733 - trunk
From: ghost_at_[hidden]
Date: 2009-08-23 12:02:26


Author: vladimir_prus
Date: 2009-08-23 12:02:26 EDT (Sun, 23 Aug 2009)
New Revision: 55733
URL: http://svn.boost.org/trac/boost/changeset/55733

Log:
Emit clear error when using --layout=system with --build-type=complete.

Text files modified:
   trunk/Jamroot | 11 +++++++++++
   1 files changed, 11 insertions(+), 0 deletions(-)

Modified: trunk/Jamroot
==============================================================================
--- trunk/Jamroot (original)
+++ trunk/Jamroot 2009-08-23 12:02:26 EDT (Sun, 23 Aug 2009)
@@ -295,6 +295,17 @@
 }
 layout-$(layout) = true ;
 
+if $(layout) = system && $(build-type) = complete
+{
+ ECHO "error: Cannot use --layout=system with --build-type complete." ;
+ ECHO "error: Please used either --layout=versioned or --layout=tagged " ;
+ ECHO "error: if you wish to build multiple variants." ;
+ if ! [ modules.peek : NT ]
+ {
+ ECHO "error: Note that --layout=system is default on Unix starting with Boost 1.40." ;
+ }
+ EXIT ;
+}
 
 # Possible stage only location.
 local stage-locate = [ MATCH "^--stagedir=(.*)" : [ modules.peek : ARGV ] ] ;


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