Boost logo

Boost-Build :

Subject: Re: [Boost-build] BUMP: [git] genrating forward headers
From: Dave Abrahams (dave_at_[hidden])
Date: 2013-08-04 11:15:04


on Sun Aug 04 2013, Bjørn Roald <bjorn-AT-4roald.org> wrote:

> On 08/03/2013 07:35 PM, Dave Abrahams wrote:
>>
>> on Sat Aug 03 2013, Steven Watanabe <watanabesj-AT-gmail.com> wrote:
>>
>>> AMDG
>>>
>
>>> On 08/01/2013 08:58 PM, Dave Abrahams wrote:
>>>>
>>>>>
>>>>> I've applied the Boost.Build changes. I don't
>>>>> want to apply the changes to Boost proper in
>>>>> svn, since it'll break without the git layout.
>>>>
>>>> Isn't it possible to conditionalize the changes somehow, so that
>>>> everything works with both layouts? If all the changes to Boost are in
>>>> Jamfiles, this shouldn't be a serious problem.
>>>>
>>>
>>> It should be possible if there's a file which
>>> is guaranteed to exist in git and guaranteed
>>> not to exist in svn.
>>
>> There are a bunch of these. There's a .git folder at the root of every
>> working copy, but that might not exist in a tarball for example.
>>
>> There's also .gitattributes at the root of every repository, or
>> .gitmodules at the root of the boost super-repository.
>>
>
> It may be better to look for include/boost folders in the libs. That
> way the build system depend on the layout, not presence of particular
> scm systems if any. This way build may work as expected out of
> tarballs and zip archives without the svn or git specific files and
> folders.

Sounds good to me

-- 
Dave Abrahams

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk