|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-03 02:29:13
David Abrahams wrote:
> "John Maddock" <john_at_[hidden]> writes:
>
>> Rene Rivera wrote:
>>> Well it's not really a Boost.Jam, or Boost.Build problem. It the
>>> individual libraries.
>>
>> I disagree: what on earth is bjam doing scanning the regex build
>> instructions for a target that doesn't need regex?
>>
>> Let's be clear about this: even if I build a project that doesn't use
>> Boost at all with bjam v2 I'll see the messages.
>
> Where did you get that idea? Sorry, John, that's just impossible.
> The messages are in the Jamfiles for the specific libraries, and BBv2
> is usable without any of the rest of Boost.
For a background: I think this issue was raised by me quite some time ago:
http://thread.gmane.org/gmane.comp.lib.boost.build/8424
The problem now is that when you read top-level Boost Jamfile, it includes
all lib Jamfiles. And lib Jamfiles are configured to produce warnings when
they are read.
So, if you use Boost.Build and don't use Boost at all, you won't see any
warning. If you use any Boost library, you'll see warning for Boost.Python
and Boost.Regex.
If it's fine with everybody, I can make the warning appear only when the
library is actually built.
Note that for folks building entire Boost, e.g. for installation, this won't
change anything at all, and I got the impression that OP was specifically
asking about build-for-installation.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk