Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-19 09:39:13


Vladimir Prus <ghost <at> cs.msu.su> writes:
> To be exact, /boost/test//minimal and /boost/test//included

I must say this double / requirement is quite ummm.. obscure.
 
> > I obviously would prefer BB to deduce it somehow automatically, since it
> > analyze header dependencies anyway.
>
> To clarify, by "it" Gennadiy means that he wanted that Boost.Build detect
> that a source file includes Boost.Test headers, and automatically adds
> certain compiler options. And this is not a feature that appears as
> common as to warrant a special support, IMO.

Actually it might be quite generic problem. Depending on particular header in
use you may want turn on/off optimization, threading, define some macro and
add addditional compiler option (like in my case).

On the other hand explicit dependency maybe usefull in a long term, so I guess
it's ok.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk