Boost logo

Boost-Build :

Subject: Re: [Boost-build] Documentation toolchain, ease of use
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-02-04 13:33:25


AMDG

On 2/4/2011 10:12 AM, Daniel James wrote:
> On 4 February 2011 16:50, Steven Watanabe<watanabesj_at_[hidden]> wrote:
>>
>> c) Attempting to default initialize any of
>> these tools after they've already been
>> initialized should be a no-op. (I think
>> this is already true, but I need to check
>> again.)
>
> I recently changed fop so that if initialized a second time it
> overwrites the initial settings. Glancing at the other tools, it looks
> like if they're initialized a second time it's ignored (which seems
> wrong to me).
>

Overwriting the settings is potentially
dangerous if any targets are created in
between. I'd rather have it be an error.
using xxx ; does appear in quite a few
Jamfiles, so changing it to overwrite the
settings with whatever would be found
by default would be a bad idea, as it
would almost certainly break anyone trying
to build the documentation on windows.

To make things work with no user configuration,
I need a way to say "Make sure the tool is
initialized. I don't care how." and initializing
with no arguments seemed like the most natural
approach.

> The fop discussion was at:
>
> http://lists.boost.org/boost-build/2010/10/24240.php.
>

In Christ,
Steven Watanabe


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