mirror of
https://github.com/boostorg/boost.git
synced 2025-04-13 16:40:42 +00:00
If no --with or --without option is specified, refer to project-config.
[SVN r52175]
This commit is contained in:
parent
878c0cc941
commit
f4218ff95d
1 changed files with 9 additions and 0 deletions
9
Jamroot
9
Jamroot
|
@ -252,6 +252,15 @@ rule libraries-to-install ( existing-libraries * )
|
|||
local argv = [ modules.peek : ARGV ] ;
|
||||
local with-parameter = [ MATCH --with-(.*) : $(argv) ] ;
|
||||
local without-parameter = [ MATCH --without-(.*) : $(argv) ] ;
|
||||
|
||||
if ! $(with-parameter) && ! $(without-parameter)
|
||||
{
|
||||
# Nothing is specified on command line. See if maybe
|
||||
# project-config.jam has some choices.
|
||||
local project-config-libs = [ modules.peek project-config : libraries ] ;
|
||||
with-parameter = [ MATCH --with-(.*) : $(project-config-libs) ] ;
|
||||
without-parameter = [ MATCH --without-(.*) : $(project-config-libs) ] ;
|
||||
}
|
||||
|
||||
# Do some checks.
|
||||
if $(with-parameter) && $(without-parameter)
|
||||
|
|
Loading…
Add table
Reference in a new issue