$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [Modularization] A new approach to header modularization
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-05-28 17:31:46
2009/5/28 Beman Dawes <bdawes_at_[hidden]>:
> On Thu, May 28, 2009 at 10:31 AM, Ilya Sokolov <ilyasokol_at_[hidden]> wrote:
>> Beman Dawes wrote:
>>>
>>> [snip]
>>> root/
>>> boost/
>>> filesystem.hpp
>>> filesystem/
>>> config.hpp
>>> convenience.hpp
>>> exception.hpp
>>> fstream.hpp
>>> operations.hpp
>>> path.hpp
>>> build/
>>> ...
>>> CMakeLists.txt
>>> doc/
>>> ...
>>> example/
>>> ...
>>> index.html
>>> ...
>>> module.cmake
>>> src/
>>> ...
>>> test/
>>> ...
>>
>> Looks ugly for my taste, sorry.
>
> It is somewhat ugly. But the alternatives, including our current
> scheme, are also somewhat ugly.
I'd prefer it if the non-header files were all in a single directory
with a standard name. That way if I list the files in boost/filesystem
there'll be less noise. And it'll make it easier to use the unix
command 'find'. So;
boost/filesystem.hpp
boost/filesystem/config.hpp
boost/filesystem/lib/index.html
boost/filesystem/lib/example/
boost/filesystem/lib/test/
boost/filesystem/lib/src/
Replacing 'lib' with whatever you fancy.
Although, you can add me to the people who are currently happy enough
with the status quo.
Daniel