Boost logo

Boost-Build :

Subject: Re: [Boost-build] how to add include directories for compile but not for scan
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-21 23:29:18


On 04/21/2012 05:21 PM, George Georgiev wrote:
> Hi Steven,
>> Well, you could use cxxflags.
> You know better than me that handling all compilers specifics on your
> own is not a fun. cxxflags is not used everywhere where include is. I
> guess compile-include is not the best name, what I really implemented
> is non-scan-include.
>> Do you have numbers?
> As you probably already know I am working on generation project. I
> have dependencies on multiple 3rd party open source projects because I
> am generating code against various of them. What is more I actually
> validate the generated code not just against one but several versions
> of the same libraries.
> For example based on my usage of boost libraries on my machine reduces
> the scanning time with about 4s (per version). And I do not use a very
> big portion of boost.

How much is the total no-op build time?

> I have no time to create real benchmarking, but this is very useful
> improvement for my use case.

That's fine. I just wanted to get an idea
of how significant this is. If I actually
implement this I can use my own benchmarks.

>> bjam -sHDRCACHE=.jamdeps
> This does not work for me. I even can not find HDRCACHE mentioned in
> the code at all. I find HDR_CACHE but it does not work too. Could you
> please point me to more detailed documentation of this feature?

Sorry. The variable name is actually
HCACHEFILE. I don't think this is
documented anywhere right now.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at