Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:27:02 -05:00
parent faac048d59
commit 6b1d2fc5ad
6 changed files with 40 additions and 16 deletions

11
Jamfile
View File

@ -1,11 +0,0 @@
# Boost.Algorithm Library Jamfile
#
# Copyright (c) 2018 James E. King III
#
# Use, modification, and distribution are 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)
# please order by name to ease maintenance
build-project example ;
build-project test ;

36
build.jam Normal file
View File

@ -0,0 +1,36 @@
# Copyright René Ferdinand Rivera Morell 2023
# 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)
import project ;
project /boost/algorithm
: common-requirements
<source>/boost/array//boost_array
<source>/boost/assert//boost_assert
<source>/boost/bind//boost_bind
<source>/boost/concept_check//boost_concept_check
<source>/boost/config//boost_config
<source>/boost/core//boost_core
<source>/boost/exception//boost_exception
<source>/boost/function//boost_function
<source>/boost/iterator//boost_iterator
<source>/boost/mpl//boost_mpl
<source>/boost/range//boost_range
<source>/boost/regex//boost_regex
<source>/boost/static_assert//boost_static_assert
<source>/boost/throw_exception//boost_throw_exception
<source>/boost/tuple//boost_tuple
<source>/boost/type_traits//boost_type_traits
<source>/boost/unordered//boost_unordered
<include>include
;
explicit
[ alias boost_algorithm ]
[ alias all : boost_algorithm example test string/example string/test ]
;
call-if : boost-library algorithm
;

View File

@ -8,9 +8,8 @@
# See http://www.boost.org for updates, documentation, and revision history.
project /boost/algorithm/example
project
: requirements
<include>../../../
<optimization>speed
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<toolset>msvc:<define>NOMINMAX

View File

@ -11,7 +11,7 @@ import testing ;
alias unit_test_framework
: # sources
/boost//unit_test_framework
/boost/test//unit_test_framework
;
{

View File

@ -11,7 +11,7 @@ import testing ;
alias unit_test_framework
: # sources
/boost//unit_test_framework
/boost/test//unit_test_framework
;
test-suite algorithm/string

View File

@ -11,7 +11,7 @@ import testing ;
alias unit_test_framework
: # sources
/boost//unit_test_framework
/boost/test//unit_test_framework
;