diff options
author | Vladimir Prus <ghost@cs.msu.su> | 2009-08-23 16:17:37 +0000 |
---|---|---|
committer | Vladimir Prus <ghost@cs.msu.su> | 2009-08-23 16:17:37 +0000 |
commit | d712137b36ef269dd97f8b7f3511c21f601ae109 (patch) | |
tree | 40e65cedb1d3e49154f4bf5672c7d2bf1785705a /Jamroot | |
parent | bd0f382b55216afffde92552dd25e083105e4bef (diff) | |
download | boost-d712137b36ef269dd97f8b7f3511c21f601ae109.tar.gz |
Merge: Emit clear error when using --layout=system with --build-type=complete.
[SVN r55734]
Diffstat (limited to 'Jamroot')
-rw-r--r-- | Jamroot | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 ] ] ; |