|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-06 07:56:56
On Monday 30 January 2006 11:31, Johan Nilsson wrote:
> >> During certain periods, such as when I'm using boost straight from
> >> the latest cvs, I'd like it to be built regardless of whether
> >> "your_action" completes successfully or not (there might be
> >> 'partial' success). IIRC there was some "ignore" flag in classic Jam?
> >
> > I don't think classic Jam had such "ignore" flag. You might try to
> > make your "ruby whatever" action detect the mode of operation and
> > either return the real exit status, or always return 0.
>
> What about: http://public.perforce.com/public/jam/src/Jam.html (search for
> "actions ignore")?
Ah, sorry. I think we have tihs too, but the only way to use this is:
if $(the-mode-where-return-value-should-be-ignored)
{
actions ignore whatever
{
}
}
else
{
actions whatever
{
}
}
I.e. you'll have to duplicate the body of actions.
- Volodya
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