Boost logo

Boost-Build :

Subject: Re: [Boost-build] Locating libraries
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2012-01-05 10:27:28


On 5 January 2012 10:43, Brian Ravnsgaard Riis <brian_at_[hidden]> wrote:
>
> I've been toying with trying to convert some CMake-based build systems
> to b2 Jamfiles, partly because I think it would be interesting to see
> how the resulting Jamfiles and CMakeLists.txt files compared,
> size-wise as well as "how easy is it to read this and figure out
> what's going on". Another reason is that there are several usability
> issues with CMake's design I really detest... That's completely
> besides the point here, though. :-)
> [...]
> Lots of background. So here comes the question: Is it possible to do
> some or all of these tasks with b2 directly with the provided command set?

I have been trying to figure out how to achive such thing myself.
And for some reasons I failed, so I moved myself from Boost.Build to...CMake
(though, I'd not advocate for CMake against Boost.Build :))

However, what I found useful is Boost Build Extensions project

http://svn.boost.org/svn/boost/sandbox/tools/build_extensions/

announced by Volodya some time ago:

http://lists.boost.org/Archives/boost/2010/10/171618.php

I used these extensions during Boost.GIL review to manage dependencies of
raster libraries like libpng, etc.
Here you can find some of my notes:

http://mateusz.loskot.net/2010/10/17/notes-on-boost-build-for-boost-gil/
http://mateusz.loskot.net/2010/11/02/updating-boost-build-extensions/

If anyone knows a better approach than Boost.Build extensions, I'd love to hear.

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

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