Boost logo

Boost Users :

Subject: Re: [Boost-users] Cannot build debug-only with bjam?
From: Adam Merz (adammerz_at_[hidden])
Date: 2008-10-13 14:44:04


Jason Nye writes:
> We are a Visual C++ shop (using vs2005 currently) and I
> would like to build boost with _SECURE_SCL=0 for release and _SECURE_SCL=1
> for debug. I see there are only two options for the bjam --build-type command
> line option: minimal (which is release) and complete (which is debug+release).
> I would like to run bjam twice: once for release (with _SECURE_SCL=0) and
> once for debug (with _SECURE_SCL=1). Is there any way to do this? Note:
> I am fine with building both dynamics and statics for each configuration.

bjam link=static,shared runtime-link=static,shared threading=single,multi
toolset=msvc debug stage

bjam link=static,shared runtime-link=static,shared threading=single,multi
toolset=msvc define=_SECURE_SCL=0 release stage


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net