[CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

Michael Jackson mike.jackson at bluequartz.net
Wed Nov 4 14:08:06 EST 2009


On Nov 4, 2009, at 1:57 PM, Mathieu Malaterre wrote:

> On Wed, Nov 4, 2009 at 7:50 PM, Philip Lowman <philip at yhbt.com> wrote:
>> Personally, I think FindBoost is complex enough without having to   
>> also keep
>> track of boost's internal dependencies as well.  Maybe things would  
>> be
>> better if the boost people published this info with every release.
>
> I understand your point. Thanks for maintaining this module.
>
>> If you'd like to check in support for the feature and volunteer to  
>> maintain
>> it, however, that's fine by me.  It would make so much more sense  
>> to do
>> within Boost itself,  though.
>
> Yup, using cmake this would be trivial:
>
> ADD_LIBRARY(filesystem ${filesystem_SRCS})
> SET_TARGET_PROPERTIES(filesystem LINK_INTERFACE_LIBRARIES "system")
>
> If only those people could ditch, this bjam based build system and
> start using the cmake one...
>
> -- 
> Mathieu

Actually.. there is a grass-roots effort to add on a CMake build  
system to boost. There is currently a git repo for Boost 1.40.0 and  
1.41.0 that has a CMake build system and is starting to produce the  
needed *.cmake files. There is an active discussion on the boost-cmake  
mailing list in the past few days on just this topic.

Start here

http://lists.boost.org/boost-cmake/2009/10/0710.php

Mike Jackson



More information about the CMake mailing list