diff --git a/Jamfile b/Jamfile index b8129ce2e..d05225776 100644 --- a/Jamfile +++ b/Jamfile @@ -798,9 +798,6 @@ lib torrent on:src/hasher512.cpp on:src/sha512.cpp - debug:on - debug:on - @building @warnings $(CXXFLAGS) @@ -816,8 +813,6 @@ lib torrent : # usage requirements $(usage-requirements) shared:TORRENT_LINKING_SHARED - debug:on - debug:on ; diff --git a/examples/Jamfile b/examples/Jamfile index 670499fc6..e969fee89 100644 --- a/examples/Jamfile +++ b/examples/Jamfile @@ -9,6 +9,8 @@ if $(BOOST_ROOT) use-project /boost : $(BOOST_ROOT) ; } +variant debug-mode : debug : on on on ; + project client_test : requirements multi /torrent//torrent @@ -21,6 +23,7 @@ project client_test msvc:/wd4373 : default-build static + debug-mode ; exe client_test : client_test.cpp print.cpp torrent_view.cpp session_view.cpp ; diff --git a/test/Jamfile b/test/Jamfile index e4d416e7d..263dcf867 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -49,6 +49,7 @@ local default-build = full on on + on ; project