Boost logo

Boost :

Subject: Re: [boost] [build] Tests automatically create header links, but library builds do not
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-05 08:01:14


Andrey Semashev wrote:

> Yes, IIRC, Peter suggested to add fake #includes to the code and I didn't
> like it.

My suggestion still stands. We had this problem with Boost.Config, John
added the includes in an #if 0 section instead of not liking it for weeks,
and we haven't had a problem since.

Sure, you could sweep the problem under the carpet by always generating all
links, but the fact that any dependency scanners (such as boostdep and build
systems) will not be aware of your dependencies will still remain.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk