forked from boostorg/iterator
-
Notifications
You must be signed in to change notification settings - Fork 0
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. (boostorg#84)
* Make the library modular usable. * Switch to library requirements instead of source. As source puts extra source in install targets. * Remove not-needed reference to Conversion dependency. * Add missing b2 testing module import. * Add requires-b2 check to top-level build file. * Bump B2 require to 5.2 * Change all <source> references to <library>. * Update copyright dates. * Move inter-lib dependencies to a project variable and into the build targets. * Update build deps.
- Loading branch information
1 parent
cdb9206
commit 585f959
Showing
2 changed files
with
46 additions
and
7 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,35 @@ | ||
# 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 : | ||
/boost/assert//boost_assert | ||
/boost/concept_check//boost_concept_check | ||
/boost/config//boost_config | ||
/boost/core//boost_core | ||
/boost/detail//boost_detail | ||
/boost/function_types//boost_function_types | ||
/boost/fusion//boost_fusion | ||
/boost/mpl//boost_mpl | ||
/boost/optional//boost_optional | ||
/boost/smart_ptr//boost_smart_ptr | ||
/boost/static_assert//boost_static_assert | ||
/boost/type_traits//boost_type_traits | ||
/boost/utility//boost_utility ; | ||
|
||
project /boost/iterator | ||
: common-requirements | ||
<include>include | ||
; | ||
|
||
explicit | ||
[ alias boost_iterator : : : : <library>$(boost_dependencies) ] | ||
[ alias all : boost_iterator test ] | ||
; | ||
|
||
call-if : boost-library iterator | ||
; | ||
|
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