Boost logo

Boost :

Subject: Re: [boost] Dependency report
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2017-07-30 12:21:35


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.

>
>> 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk