Boost logo

Boost-Build :

Subject: Re: [Boost-build] Language specific include paths
From: Daniel James (dnljms_at_[hidden])
Date: 2018-02-14 16:02:23


On 14 February 2018 at 15:40, Steven Watanabe via Boost-build
<boost-build_at_[hidden]> wrote:
> AMDG
>
> On 02/14/2018 06:23 AM, Daniel James via Boost-build wrote:
>> When building quickbook in boost, there's an include path to boost
>> root. I think that's because the 'project' in Jamroot has
>> 'requirements <include>.' which gets picked up by quickbook. This
>> isn't really a problem here as there aren't many quickbook files
>> hanging around in boost root, but it's not ideal. So is it possible to
>> make the include requirement only apply to C/C++ builds?
>
> That's what <include> ought to mean in the first place.

Maybe it should have, but that horse bolted long ago.

>> I think it's
>> a bit late to change the quickbook toolset so that it doesn't use
>> <include>,
>>
>
> Sorry, but that's the only reasonable fix.
> If you insist on using <include>, then you
> will get C/C++ include paths from various
> sources (including the command line and library
> usage-requirements)

I don't use <include>, let alone insist on it. This is entirely due to
boost build's design.


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