Boost logo

Boost :

Subject: Re: [boost] CMake and library requirements
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-05-21 13:32:43


Vladimir Prus wrote:
> Looking at:
>
> http://www.boost.org/development/requirements.html#Directory_structure
>

Hrm, somehow we missed that.

> I see that sub-directory 'build' should contain
> 'Library build files such as a Jamfile'. In SVN HEAD I also see:
>
> libs/program_options/CMakeLists.txt
>
> Now, cmake is clearly build system, so that file is in violation of the
> above guideline. May I ask to either:
>
> 1. Have cmake folks to fix this?
> 2. Have the guideline adjusted, with associated moving of Jamfiles out of
> 'build' directory and removal of 'build' directories that become empty
> as result?
>
> The background is that I plan some work that might require adding Jamfiles
> for header-only libraries and clearly having Jamfiles in build subdir while
> having CMakeLists.txt one directory higher is gonna be mightly confusing.
>

I'd vote for moving Jamfiles up to libs/*/Jamfile.v2, not because I'm
unwilling to do some typing, but because cmake of the way cmake works...
it'd be painful. But I could look harder at this if necessary.

-t


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk