4 Dec
2014
4 Dec
'14
7:46 a.m.
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.