Skip to content

Commit a93d704

Browse files
committed
Add support for b2 modular builds and boostlook
1 parent 91811d0 commit a93d704

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

build.jam

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright René Ferdinand Rivera Morell 2023-2024
2+
# Copyright Matt Borland 2024
3+
# Distributed under the Boost Software License, Version 1.0.
4+
# (See accompanying file LICENSE_1_0.txt or copy at
5+
# http://www.boost.org/LICENSE_1_0.txt)
6+
7+
require-b2 5.2 ;
8+
9+
project /boost/decimal
10+
: common-requirements
11+
<include>include
12+
;
13+
14+
explicit
15+
[ alias boost_core ]
16+
[ alias all : boost_decimal test ]
17+
;
18+
19+
call-if : boost-library decimal
20+
;

doc/Jamfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Copyright 2017, 2018 Peter Dimov
2+
# Copyright 2024 Matt Borland
23
# Distributed under the Boost Software License, Version 1.0.
34
# https://www.boost.org/LICENSE_1_0.txt
45

56
import asciidoctor ;
67

7-
html decimal.html : decimal.adoc ;
8+
html decimal.html : decimal.adoc
9+
: <use>/boost/boostlook//boostlook
10+
<dependency>decimal-docinfo-footer.html
11+
;
812

913
install html_ : decimal.html : <location>html ;
1014

test/Jamfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
# Distributed under the Boost Software License, Version 1.0.
55
# https://www.boost.org/LICENSE_1_0.txt
66

7+
require-b2 5.0.1 ;
8+
import-search /boost/config/checks ;
9+
import config : requires ;
10+
import modules ;
711
import testing ;
8-
import ../../config/checks/config : requires ;
912

1013
project : requirements
1114

12-
<library>/boost/charconv//boost_charconv
13-
1415
<toolset>gcc:<cxxflags>-Wall
1516
<toolset>gcc:<cxxflags>-Wextra
1617

@@ -113,7 +114,7 @@ run test_fixed_width_trunc.cpp ;
113114
run test_float_conversion.cpp ;
114115
run-fail test_fprintf.cpp ;
115116
run test_frexp_ldexp.cpp ;
116-
run test_from_chars.cpp ;
117+
run test_from_chars.cpp /boost/charconv//boost_charconv ;
117118
run test_git_issue_266.cpp ;
118119
run test_git_issue_271.cpp ;
119120
run test_hash.cpp ;

0 commit comments

Comments
 (0)