-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for modular build structure. (#172)
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.
- Loading branch information
1 parent
981e37c
commit ad121db
Showing
5 changed files
with
91 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright René Ferdinand Rivera Morell 2023-2024 | ||
# Distributed under 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) | ||
|
||
require-b2 5.2 ; | ||
|
||
constant boost_dependencies : | ||
<library>/boost/config//boost_config | ||
<library>/boost/container_hash//boost_container_hash | ||
<library>/boost/core//boost_core | ||
<library>/boost/predef//boost_predef | ||
<target-os>windows:<library>/boost/winapi//boost_winapi ; | ||
|
||
project /boost/stacktrace | ||
: common-requirements | ||
<include>include | ||
; | ||
|
||
explicit | ||
[ alias boost_stacktrace_addr2line : build//boost_stacktrace_addr2line ] | ||
[ alias boost_stacktrace_backtrace : build//boost_stacktrace_backtrace ] | ||
[ alias boost_stacktrace_basic : build//boost_stacktrace_basic ] | ||
[ alias boost_stacktrace_from_exception : build//boost_stacktrace_from_exception ] | ||
[ alias boost_stacktrace_noop : build//boost_stacktrace_noop ] | ||
[ alias boost_stacktrace_windbg : build//boost_stacktrace_windbg ] | ||
[ alias boost_stacktrace_windbg_cached : build//boost_stacktrace_windbg_cached ] | ||
[ alias boost_stacktrace : boost_stacktrace_noop ] | ||
[ alias all : | ||
boost_stacktrace_addr2line | ||
boost_stacktrace_backtrace | ||
boost_stacktrace_basic | ||
boost_stacktrace_from_exception | ||
boost_stacktrace_noop | ||
boost_stacktrace_windbg | ||
boost_stacktrace_windbg_cached | ||
test | ||
] | ||
; | ||
|
||
call-if : boost-library stacktrace | ||
: install | ||
boost_stacktrace_addr2line | ||
boost_stacktrace_backtrace | ||
boost_stacktrace_basic | ||
boost_stacktrace_from_exception | ||
boost_stacktrace_noop | ||
boost_stacktrace_windbg | ||
boost_stacktrace_windbg_cached | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters