Boost logo

Boost :

Subject: Re: [boost] Dependency report
From: Edward Diener (eldiener_at_[hidden])
Date: 2017-07-31 03:17:07

On 7/30/2017 8:21 AM, Raffi Enficiaud via Boost wrote:
> Le 30.07.17 à 10:51, Peter Dimov via Boost a écrit :
>> Raffi Enficiaud wrote:
>>> Hi,
>>> For some libraries that are using boost.test, it seems that boost.test
>>> is included in the weight. But this is in fact not totally true: as it
>> is shown, it is a "developer" weight that wants to run the tests and
>> compile the doc.
>> The dependencies in the report are computed based on the headers in
>> `include`. If one of them includes a Boost.Test header, Test is
>> considered a dependency.
>> The usual practice is to move such private headers to the `test`
>> subdirectory.
> That is weird though that eg. boost.graph depends on boost.test. After
> your reply, it is indeed in <boost/graph/graph_test.hpp> which should
> then be indeed moved somewhere else.

I created a PR to move graph_test.hpp to the test subdirectory.

>>> Would it be somehow possible to account only for the source code that
>>> generates the libraries, as seen by users?
>> This would imply that header-only libraries have no dependencies, which
>> is absurd.
> You got me wrong here.
> Best,
> Raffi

Boost list run by bdawes at, gregod at, cpdaniel at, john at