|
Boost Interest : |
From: Doug Gregor (doug.gregor_at_[hidden])
Date: 2008-07-02 16:38:48
On Wed, Jul 2, 2008 at 4:31 PM, Miguel A. Figueroa-Villanueva
<miguelf_at_[hidden]> wrote:
> On Wed, Jul 2, 2008 at 2:06 PM, David Abrahams wrote:
>> troy d. straszheim wrote:
>>> and those HEADERS from each library will get moved from toplevel boost/
>>> to each library's libs/*/include/boost directory. This currently
>>> requires 'rsync' and 'rm' presumably working only unixy platforms,
>>> which should be fine, there's nothing about this that needs extensive
>>> special testing on windows. Who knows, maybe under cygwin it would work.
>>
>> I'm certain that it would; cygwin is POSIX.
>> Could you use something like python's shutil.copytree or
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/231501 to do
>> this portably?
>
> cmake can handle this cross-platform... if you type 'cmake -E' it will
> give a list of commands that it can support. Notice: remove,
> remove_directory, make_directory, and copy_directory. Through custom
> commands it can be made to work in all platforms.
Ah, so this would be done at configuration time, then? I could imagine
toggling a "BOOST_AUTO_MODULARIZE" option within the CMake GUI, and
having the next "Configure" run do all of the directory-shifting.
> I use visual studio and cygwin, so I'll take a look at how it is
> doing. I'll report back later on.
Cool.
- Doug