Boost logo

Boost-Build :

From: Jean-Pierre Gygax (gygax_at_[hidden])
Date: 2003-11-20 04:17:22


Hi,

I've had trouble using Boost in conjunction with the Dinkum Standard
library. I have solved several problems already, what remains burns down to
build differences between the Boost link libraries and my own code.

(Btw, I'm using MSVC7.1 on Windows XP.)

I am able however to "sort-of" customize the builds using the environment
variable CL. The problem with that is that it works globally, it influences
each and every compile. That's ok for some of the things that need to be
defined for Dinkum to work properly (e.g. _C99), but not for some others
that must be defined for debug builds only (e.g. I was told by Dinkum to
define _STL_DB in my debug builds).

With respect to Boost build system, what I need to know is how to customize
the compiler arguments depending on what exactly is being built. I noticed
that the build system is quite able to maintain several version of each
target (release/debug, single-/multi-threaded, etc.), but now I need to know
how to fine-tune this, and where.

Thanks for any help! I didn't find this in the documentation, and I simply
don't have time to become a bjam expert...

-- Jean-Pierre Gygax

 


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