[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] [bbv2] Shell for specific project?
From:       "Johan Nilsson" <r.johan.nilsson () gmail ! com>
Date:       2006-01-30 8:31:20
Message-ID: drkiso$8n2$1 () sea ! gmane ! org
[Download RAW message or body]

Vladimir Prus wrote:
> 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.

Ok.

>
>> 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.

Ok. It made your example look like a case of circular dependencies.

>
>>>  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.

What about: http://public.perforce.com/public/jam/src/Jam.html (search for 
"actions ignore")?

// Johan




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic