Skip to content

fix setting custom b2 feature from CLI #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions boost-stacktrace-features.jam
Original file line number Diff line number Diff line change
@@ -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 ;
2 changes: 2 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

require-b2 5.2 ;

import boost-stacktrace-features ;

constant boost_dependencies :
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
Expand Down
4 changes: 1 addition & 3 deletions build/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand All @@ -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
:
Expand Down
Loading