Skip to content

Commit 6b1d2fc

Browse files
committed
Make the library modular usable.
1 parent faac048 commit 6b1d2fc

File tree

6 files changed

+40
-16
lines changed

6 files changed

+40
-16
lines changed

Jamfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

build.jam

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Copyright René Ferdinand Rivera Morell 2023
2+
# Distributed under the Boost Software License, Version 1.0.
3+
# (See accompanying file LICENSE_1_0.txt or copy at
4+
# http://www.boost.org/LICENSE_1_0.txt)
5+
6+
import project ;
7+
8+
project /boost/algorithm
9+
: common-requirements
10+
<source>/boost/array//boost_array
11+
<source>/boost/assert//boost_assert
12+
<source>/boost/bind//boost_bind
13+
<source>/boost/concept_check//boost_concept_check
14+
<source>/boost/config//boost_config
15+
<source>/boost/core//boost_core
16+
<source>/boost/exception//boost_exception
17+
<source>/boost/function//boost_function
18+
<source>/boost/iterator//boost_iterator
19+
<source>/boost/mpl//boost_mpl
20+
<source>/boost/range//boost_range
21+
<source>/boost/regex//boost_regex
22+
<source>/boost/static_assert//boost_static_assert
23+
<source>/boost/throw_exception//boost_throw_exception
24+
<source>/boost/tuple//boost_tuple
25+
<source>/boost/type_traits//boost_type_traits
26+
<source>/boost/unordered//boost_unordered
27+
<include>include
28+
;
29+
30+
explicit
31+
[ alias boost_algorithm ]
32+
[ alias all : boost_algorithm example test string/example string/test ]
33+
;
34+
35+
call-if : boost-library algorithm
36+
;

example/Jamfile.v2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
# See http://www.boost.org for updates, documentation, and revision history.
99

1010

11-
project /boost/algorithm/example
11+
project
1212
: requirements
13-
<include>../../../
1413
<optimization>speed
1514
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
1615
<toolset>msvc:<define>NOMINMAX

minmax/test/Jamfile.v2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import testing ;
1111

1212
alias unit_test_framework
1313
: # sources
14-
/boost//unit_test_framework
14+
/boost/test//unit_test_framework
1515
;
1616

1717
{

string/test/Jamfile.v2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import testing ;
1111

1212
alias unit_test_framework
1313
: # sources
14-
/boost//unit_test_framework
14+
/boost/test//unit_test_framework
1515
;
1616

1717
test-suite algorithm/string

test/Jamfile.v2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import testing ;
1111

1212
alias unit_test_framework
1313
: # sources
14-
/boost//unit_test_framework
14+
/boost/test//unit_test_framework
1515
;
1616

1717

0 commit comments

Comments
 (0)