From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-18 07:57:44
"Gennadiy Rozental" <rogeeff_at_[hidden]> wrote in message
> Vladimir Prus <ghost <at> cs.msu.su> writes:
>> On Wednesday 17 October 2007 04:31:07 Gennadiy Rozental wrote:
>> > Can I somehow specify usage requirements for header?
>> > Specifically I am interrested in <toolset>msvc:<asynch-exceptions>on
>> > for
>> > boost/test/included headers. I see something close as an alias minimal.
>> > I
>> > not sure this is it and how do I use it.
>> Can you clarify what you want? It's not possible to detect that a source
>> file will include some header and change things based on that, and it
>> be in fact somewhat strange to try that.
> You know that Boost.Test requires async exceptions enabled bor msvc based
> toolsets. For the library kind of targets we put it in project
> section. But the is usage variant which doesn't involve libraries. Instead
> user include header from boost/test/included directory, which contains
> source of the corresponding component. In this case async exception are
> required as well.
> I do expect it to be difficult to deduce particular header usage (though
> noticesed that bjam actually does perform header analisys to deduce
> dependency, isn't t?), but I found alias minimal in Boost.Test Jamfile.
> minimal is also header only component of Boost.Test. Can I do similar with
> other headers from included directory? At best it shouldn't require users
> include some fake dependecies in their Jamfiles, but any solution may be
Please take a look here:
You can see that async exceptions are not enabled. And they have to be. How
can it be done?
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