2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Merge from trunk

[SVN r33988]
This commit is contained in:
Vladimir Prus
2006-05-18 05:43:24 +00:00
parent 9ca90eff6a
commit a2cb8653ef

View File

@@ -125,9 +125,14 @@ rule from-command-line ( command-line * )
local properties ;
command-line = $(command-line[2-]) ;
local skip-next = ;
for local e in $(command-line)
{
if ! [ MATCH "^(-).*" : $(e) ]
if $(skip-next)
{
skip-next = ;
}
else if ! [ MATCH "^(-).*" : $(e) ]
{
# Build request spec either has "=" in it, or completely
# consists of implicit feature values.
@@ -142,6 +147,10 @@ rule from-command-line ( command-line * )
targets += $(e) ;
}
}
else if [ MATCH "^(-[-ldjfsto])$" : $(e) ]
{
skip-next = true ;
}
}
return [ new vector [ new vector $(targets) ] [ new vector $(properties) ] ] ;
}