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

* build/property.jam

(refine): Pass conditional properties throught.


[SVN r20900]
This commit is contained in:
Vladimir Prus
2003-11-21 14:24:24 +00:00
parent 048fca4501
commit 80559fffd3

View File

@@ -35,9 +35,14 @@ rule refine ( properties * : requirements * )
}
for local p in $(properties)
{
{
# No processing for free properties
if free in [ feature.attributes $(p:G) ]
if [ MATCH (:) : $(p:G=) ]
{
# Skip conditional properties
result += $(p) ;
}
else if free in [ feature.attributes $(p:G) ]
{
result += $(p) ;
}
@@ -68,7 +73,7 @@ rule refine ( properties * : requirements * )
{
__require__$(r:G) = ;
}
if $(error)
{
return $(error) ;