mirror of
https://github.com/boostorg/boost.git
synced 2025-04-08 22:48:50 +00:00
Emit clear error when using --layout=system with --build-type=complete.
[SVN r55733]
This commit is contained in:
parent
076859f7f9
commit
dbbf8fa0cf
1 changed files with 11 additions and 0 deletions
11
Jamroot
11
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 ] ] ;
|
||||
|
|
Loading…
Add table
Reference in a new issue