|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-09-17 22:41:47
"David Abrahams" <dave_at_[hidden]> wrote in message
news:87myvl143d.fsf_at_grogan.peloton...
>
> A few days ago I started thinking about the implications of giving
> each Boost library a separate subtree of the repository, and it led me
> to some interesting places.
>
> * Start with the assumption that each library has a boost/ directory
> containing its subset of the headers it currently has. So, for
> example, Boost.Python would have
>
> boost/
> python.hpp
> python/
> ...
>
> where "..." above is identical to the current contents of
> $BOOST_ROOT/boost/python/
>
> * Our release process would merge the boost/ directories
>
> * To test a library from a source distribution, you'd need to get the
> boost/ directories of any libraries it depends on into the #include
> path.
>
> * This list of dependency libraries would be encoded in each dependent
> library's Jamfile.
>
> * Presto, a way to explicitly declare and track library
> inter-dependencies! If you fail to declare a dependency in your
> Jamfile, your tests won't compile.
>
> Thoughts?
This is exactly an idea I pitched some time ago with explicit library
dependencies specification. I believe it is a way to go.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk