$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [Modularization] A new approach to header modularization
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2009-05-29 02:45:14
Beman Dawes wrote:
> On Thu, May 28, 2009 at 10:31 AM, Ilya Sokolov <ilyasokol_at_[hidden]> wrote:
>> It doesn't make dependencies of header-only libraries explicit.
>
> Dependencies are a separate issue. AFAICS, that's also true for the
> alternatives too.
No. If we had a build system target for each library that installs its
headers to the 'boost' directory before building we would be forced to
explicitly state the dependencies: (pseudocode)
# Boost.SmartPtr jamfile
synchronize sync_headers
: [ glob-tree ../include/*.hpp ]
: ../../boost
;
lib smart_ptr
:
: <dependency>sync_headers
;
# Boost.Filesystem jamfile
lib filesystem
: [ glob-tree ../src/*.cpp ]
/boost//system
/boost//smart_ptr # NOTE
...
;