diff --git a/boost-stacktrace-features.jam b/boost-stacktrace-features.jam new file mode 100644 index 0000000..db1cd4e --- /dev/null +++ b/boost-stacktrace-features.jam @@ -0,0 +1,9 @@ +# Copyright (C) 2016-2024, Antony Polukhin. +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) +# +import feature ; + +feature.feature boost.stacktrace.from_exception : on off : optional propagated ; diff --git a/build.jam b/build.jam index 623236a..8ea7a38 100644 --- a/build.jam +++ b/build.jam @@ -5,6 +5,8 @@ require-b2 5.2 ; +import boost-stacktrace-features ; + constant boost_dependencies : /boost/config//boost_config /boost/container_hash//boost_container_hash diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 9f93887..ce57c34 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -7,8 +7,8 @@ require-b2 5.0.1 ; import-search /boost/config/checks ; +import boost-stacktrace-features ; import config : requires ; -import feature ; import property ; constant boost_dependencies_private : @@ -29,8 +29,6 @@ lib gcc_s ; lib Dbgeng ; lib ole32 ; -feature.feature boost.stacktrace.from_exception : on off : optional propagated ; - local LIBBACKTRACE_PATH = [ modules.peek : LIBBACKTRACE_PATH ] ; lib backtrace :