-
Notifications
You must be signed in to change notification settings - Fork 114
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. (#389)
* Make the library modular usable. * Switch to library requirements instead of source. As source puts extra source in install targets. * Add requires-b2 check to top-level build file. * Add missing test deps. * Bump B2 require to 5.2 * Fix duplicate def of boost.process.fs feature. * Add missing boost_test dependency. * Move inter-lib dependencies to a project variable and into the build targets. * Switch to /boost/test//included target for header only mode of Boost.Test. * Adjust doc build to avoid boost-root references. * Update build deps. * Fix link and build of deps.
- Loading branch information
1 parent
9561eba
commit e8b59f6
Showing
9 changed files
with
100 additions
and
73 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,46 @@ | ||
# Copyright René Ferdinand Rivera Morell 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 ; | ||
|
||
import feature : feature ; | ||
|
||
feature boost.process.fs : boost std : optional propagated ; | ||
|
||
constant boost_dependencies : | ||
/boost/algorithm//boost_algorithm | ||
/boost/asio//boost_asio | ||
/boost/assert//boost_assert | ||
/boost/config//boost_config | ||
/boost/core//boost_core | ||
/boost/fusion//boost_fusion | ||
/boost/io//boost_io | ||
/boost/iterator//boost_iterator | ||
/boost/move//boost_move | ||
/boost/optional//boost_optional | ||
/boost/system//boost_system | ||
/boost/throw_exception//boost_throw_exception | ||
/boost/tokenizer//boost_tokenizer | ||
/boost/type_index//boost_type_index | ||
/boost/type_traits//boost_type_traits | ||
/boost/utility//boost_utility | ||
/boost/winapi//boost_winapi ; | ||
|
||
project /boost/process | ||
: common-requirements | ||
<include>include | ||
: default-build | ||
<boost.process.fs>boost | ||
; | ||
|
||
explicit | ||
[ alias boost_process : build//boost_process ] | ||
[ alias all : boost_process example example/v2 test ] | ||
; | ||
|
||
call-if : boost-library process | ||
: install boost_process | ||
; | ||
|
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
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