Boost logo

Boost :

Subject: Re: [boost] [cmake] Minimum viable cmakeification for Boost
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-21 02:03:21


Paul Fultz II wrote:
> > On Jun 20, 2017, at 6:33 PM, Peter Dimov via Boost
> > <boost_at_[hidden]> wrote:
> >
> > paul wrote:
> >
> >> https://github.com/steveire/BoostCMake
> >
> > * Latest commit cd85034 on Aug 29 2013
> > * cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
> >
> > I'd think that even Stephen Kelly can't produce idiomatic CMake 3.5
> > while using CMake 2.8. Although who knows.
>
> This is a lie though because it's using cmake 3 features. It won't build
> with cmake 2.8 at all.

Yes, I looked at the code and it's very similar to what is being suggested
today:

https://github.com/steveire/BoostCMake/blob/master/listsfiles/libs/system/CMakeLists.txt

Header-only libraries don't seem to enumerate dependencies though:

https://github.com/steveire/BoostCMake/blob/master/listsfiles/libs/smart_ptr/CMakeLists.txt


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