Boost logo

Boost :

Subject: Re: [boost] CMake and library requirements
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-05-21 13:39:57


troy d. straszheim wrote:

> 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.

The only problem with moving up is that some 'build' directories contains build
files for VC and what not -- a lot of them. Therefore, entirely removing 'build'
directories does not seem possible, which still leaves some space for confusion.

- Volodya


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