Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-06-01 12:55:55

Ben Pope wrote:

> NOTE: This is a duplicate of a post to boost.users where I got no
> response for 24 hours, I'm reposting here to hit the correct audience.
> Hi all,
> I'm sure this must have been covered before, but I am completely
> unable to find what I'm after, so apologies if that is the case.
> I seem to have a feeling that BBv2 as shipped with 1.33.1 is not
> completely ready for compiling with msvc 8 on Windows with
> autolinking, but I'm not sure where I go that from.

1.33.1? I would say that autolink is not likely to work with V2
is that release.

> What I would like to do is build the following configurations with VC8:
> * debug with shared libraries
> * release shared and static libraries with _SECURE_SCL=0 defined.
> Can that be done in a single call of bjam? I don't mind if we get
> debug static at the same time.
> And for completeness and the sake of comparison (and for when we move
> to 1.34) what is the equivalent with BBv2? I've noticed that there is
> some conditional stuff:
> <variant>release:<define>_SECURE_SCL=0
> But couldn't work out how to do it on the command line, do I need to
> create some jam config files?

In 1.34, you'd have to:

1. Add


to 'requirements' section in boost_root/Jamfile

2. Say

   bjam debug link=shared --prefix=whatever install toolset=msvc


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at