summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorVladimir Prus <ghost@cs.msu.su>2009-08-23 16:17:37 +0000
committerVladimir Prus <ghost@cs.msu.su>2009-08-23 16:17:37 +0000
commitd712137b36ef269dd97f8b7f3511c21f601ae109 (patch)
tree40e65cedb1d3e49154f4bf5672c7d2bf1785705a /Jamroot
parentbd0f382b55216afffde92552dd25e083105e4bef (diff)
downloadboost-d712137b36ef269dd97f8b7f3511c21f601ae109.tar.gz
Merge: Emit clear error when using --layout=system with --build-type=complete.
[SVN r55734]
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot11
1 files changed, 11 insertions, 0 deletions
diff --git a/Jamroot b/Jamroot
index e88c986b18..eb1d840204 100644
--- a/Jamroot
+++ b/Jamroot
@@ -295,6 +295,17 @@ if ! $(layout)
}
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 ] ] ;