Skip to content

Commit 22982db

Browse files
authored
fix setting custom b2 feature from CLI (#194)
1 parent 088bf8e commit 22982db

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

boost-stacktrace-features.jam

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (C) 2016-2024, Antony Polukhin.
2+
#
3+
# Use, modification and distribution is subject to the Boost Software License,
4+
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5+
# http://www.boost.org/LICENSE_1_0.txt)
6+
#
7+
import feature ;
8+
9+
feature.feature boost.stacktrace.from_exception : on off : optional propagated ;

build.jam

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
require-b2 5.2 ;
77

8+
import boost-stacktrace-features ;
9+
810
constant boost_dependencies :
911
<library>/boost/config//boost_config
1012
<library>/boost/container_hash//boost_container_hash

build/Jamfile.v2

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
require-b2 5.0.1 ;
99
import-search /boost/config/checks ;
10+
import boost-stacktrace-features ;
1011
import config : requires ;
11-
import feature ;
1212
import property ;
1313

1414
constant boost_dependencies_private :
@@ -29,8 +29,6 @@ lib gcc_s ;
2929
lib Dbgeng ;
3030
lib ole32 ;
3131

32-
feature.feature boost.stacktrace.from_exception : on off : optional propagated ;
33-
3432
local LIBBACKTRACE_PATH = [ modules.peek : LIBBACKTRACE_PATH ] ;
3533
lib backtrace
3634
:

0 commit comments

Comments
 (0)