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 19:49:06
On 04/21/2012 02:57 PM, George Georgiev wrote:
> It took me less than 15 minutes to implement <compile-include> builtin
> feature myself (for the compilers I need) and I am not so familiar
> with Boost Build system.
> I found several discussions about this topic, other people asking for
> this or very similar feature.
Well, you could use cxxflags.
> Is there arguments why this should not be an officially supported
It adds extra complexity. In addition
to the implementation it would need
documentation and tests. Every new feature
makes it harder for users to find what
> The time savings especially for incremental build are
Do you have numbers? Also, have you tried
using HDRCACHE? (e.g. bjam -sHDRCACHE=.jamdeps
will cause the results of #include scanning
to be stored in a file called .jamdeps).
> And it looks to me extremely cheap for implementation and
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