Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-06 13:48:28


Jody Hagins <jody-boost-011304_at_[hidden]> writes:

> I think this goes with the recent threads about making boost more user
> friendly.
>
> I use several third party libraries together, and they use a mixture of
> build tools, and compiler settings. I'd like to make sure everything is
> built with similar compiler settings.
>
> Is there something for boost like wx-config? Specifically, I'm looking
> for something that can spit out compiler/linker directives for
> compiling/linking with boost.
>
> I guess what I am really asking about is an easier way to properly use
> the boost libraries (with proper compiler options, and using the
> properly decorated library).

The best thing to do is make a project with Boost.Build that uses
cross-project references to boost libraries (see the contents of
libs/python/example) and use that to build your project. The 2nd best
thing to do is to make a project with Boost.Build that uses
cross-project references to boost libraries (see the contents of
libs/python/example), then

bjam -a -obuild.log ...

and then look at the contents of build.log to see what command lines
to use.

> Currently, our build system (based on make) does this reasonably
> well, but only because it is enforced manually in the make system.

I don't understand what you mean by "enforced manually"

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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