diff --git a/Jamfile b/Jamfile index 3b556aa4c..fff96b356 100644 --- a/Jamfile +++ b/Jamfile @@ -368,6 +368,17 @@ rule building ( properties * ) return $(result) ; } +rule default-build ( properties * ) +{ + local result ; + if debug in $(properties) + { + result += debug:on + debug:on ; + } + return $(result) ; +} + rule tag ( name : type ? : property-set ) { name = [ virtual-target.add-prefix-and-suffix $(name) : $(type) : $(property-set) ] ; @@ -753,8 +764,6 @@ lib torrent on:ed25519/src/$(ED25519_SOURCES).cpp on:src/hasher512.cpp on:src/lazy_bdecode.cpp - debug:on - debug:on @building @warnings @@ -767,6 +776,7 @@ lib torrent : # default build multi 512 + @default-build : # usage requirements $(usage-requirements)