|
Boost-Build : |
From: janssoaf (mail_at_[hidden])
Date: 2004-02-05 08:02:11
Volodya,
> local condition2 ;
> # Weed out conditional properties.
> for local c in $(condition)
> {
> if ! [ MATCH ^([^:]*)\$ : $(condition:G=) ] ;
> {
> condition2 += $(c) ;
> }
> }
> condition = $(condition2) ;
>
> What do you think?
local condition2 ;
# Weed out conditional properties.
for local c in $(condition)
{
if [ MATCH ^([^:]*)\$ : $(c:G=) ]
{
condition2 += $(c) ;
}
}
condition = $(condition2) ;
seems to do the trick. Will you put it into CVS?
Thanks, Olaf
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk