2 Jul
2008
2 Jul
'08
4:34 p.m.
AMDG Johan RĂ¥de wrote:
I need to build two versions:
1. debug, dynamic linking, secure SCL 2. release, static linking, no secure SCL
Both versions should use the dynamic runtime and multi-threading. And I need zlib support with my iostreams.
Is the following correct
bjam toolset=msvc-9.0 runtime-link=dynamic threading=multi debug/link=dynamic/define=_SECURE_SCL=1 release/link=static/define=_SECURE_SCL=0 --NO_ZLIB=0 -sZLIB_SOURCE=C:\ZLib install
Almost, try runtime-link=shared and link=shared. The -n option of bjam is helpful. (Don't actually execute the updating actions, only print them). You can use --with-iostreams e.g. to only see the actions for a single library. In Christ, Steven Watanabe