Skip to content

Commit

Permalink
fix setting custom b2 feature from CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras committed Nov 12, 2024
1 parent 088bf8e commit 3a7b01b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
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

0 comments on commit 3a7b01b

Please sign in to comment.