|
Boost-Build : |
Subject: Re: [Boost-build] "check-target-builds" does not fail when it should
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-09-21 04:00:48
> Can somebody explain this? Should I use other rule?
I don't think you can use the rule in that way - check-target-builds returns
an *attribute* that you apply to a *target* - if you use it in an "if"
statement then the "if" just sees the result of check-target-builds as a
non-empty string and succeeds.
HTH, John.
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