|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-01-30 03:11:27
On Monday 30 January 2006 11:00, Johan Nilsson wrote:
> >
> > notfile whatever : @your_action : hello ;
>
> "@" ?
The "@" is supposed to mean that "your_action" is the name of a rule, not
target or something else.
> And why is "hello" there?
Sorry, it should not be there, I've copied it from another example where it
made sense. It's a list of soruces to 'whatever', and in your case it can be
empty.
> > actions your_action
> > {
> > ruby whatever
> > }
> >
> > exe hello : hello.cpp : <dependency>whatever ;
> >
> > In this case, 'hello' won't be build if the 'ruby whatever' target
> > fails.
>
> 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.
- 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