« Return to Thread: Building Boost 1.33.1 with different #defines for release and debug

Re: Building Boost 1.33.1 with different #defines for release and debug

by Ben Pope :: Rate this Message:

Reply to Author | View in Thread

Well, failing all else I modified my Jamfile, but I'm not sure it's
entirely correct, can anybody check?

Starting at Line 199:

local lib-sources = [ install-sources lib ] ;

if $(lib-sources)
{
    local gNOWARN_INCOMPATIBLE_BUILDS = TRUE ;
    local gUNVERSIONED_VARIANT_TAG = [ cond $(layout-system) : TRUE ] ;

    local lib-build =
        debug release
        [ cond $(with-debug-python) : debug-python ]
        [ cond $(NT) : <runtime-link>static/dynamic ]
        <release><define>_SECURE_SCL=0
        <threading>single/multi
        ;
    local lib-target =
        [ cond $(with-install) : install : all ]
        [ cond $(with-stage) : stage : all ]
        ;


I just added this line:
<release><define>_SECURE_SCL=0

It seemed to work for a very simple "library" I added to the source
tree, but I'm not sure it will catch every library, can anybody
confirm?

Cheers,

Ben
--
I'm not just a number. To many, I'm known as a string...
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: Building Boost 1.33.1 with different #defines for release and debug