Subject: Re: [boost] Link dependencies (was: [mpl] [build] [testing]Mergepullrequests)
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-12-04 02:46:42


On Thursday 04 December 2014 00:26:32 Peter Dimov wrote:
> Andrey Semashev wrote:
> >
> > IMHO, either Boost.Build has to parse the code properly, or it should be
> > guided by its own config files, i.e. Jamfiles.
>
> That also means that you modify unrelated files, even more unrelated than
> the header. It's much better if the dependency information is kept in the
> header rather than being a sidecar that you need to remember to keep in
> sync.

The idea is to mark dependencies on other (sub)libraries in the Jamfiles.
These dependencies don't change often. Also, Jamfiles is where I expect to
find stuff related to the build system, which links the headers, not the
headers themselves.