13 Oct
2008
13 Oct
'08
6:44 p.m.
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