Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-06-13 03:52:05


Vladimir Prus <ghost_at_[hidden]> wrote:
>On Friday 10 June 2005 11:40, Toon Knapen wrote:
>> Following Jamroot results in a bbv2 error
>>
>> <Jamroot>
>> lib foo : foo.cpp ;
>> lib foo2 : foo2.cpp : : : <define>NDEBUG ;
>>
>> lib main : main.cpp foo ;
>> lib main2 : main.cpp foo2 ;
>> </Jamroot>
>>
>
>I'm pretty sure this behaviour was present all the time.

You are right. Apparantly this never worked and I understand why. However I
was confused because the following *does* work.

<Jamroot>
lib foo : foo.cpp ;
lib foo2 : foo2.cpp : : : <define>NDEBUG ;

lib bar : bar.cpp foo ;
lib bar2 : bar.cpp foo2 ;
explicit main ;
explicit main2 ;

exe main : main.cpp bar ;
</Jamroot>

Removing the explicit however again makes it break again.

 


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