Skip to content

Commit 7482efd

Browse files
committed
Merge branch 'modular' of https://github.com/grafikrobot/boostorg.array into feature/pr-24
2 parents 61bbcbf + 78fb6a7 commit 7482efd

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

build.jam

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright René Ferdinand Rivera Morell 2023-2024
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+
require-b2 5.2 ;
7+
8+
constant boost_dependencies :
9+
/boost/assert//boost_assert
10+
/boost/config//boost_config
11+
/boost/core//boost_core
12+
/boost/static_assert//boost_static_assert
13+
/boost/throw_exception//boost_throw_exception ;
14+
15+
project /boost/array
16+
: common-requirements
17+
<include>include
18+
;
19+
20+
explicit
21+
[ alias boost_array : : : : <library>$(boost_dependencies) ]
22+
[ alias all : boost_array test ]
23+
;
24+
25+
call-if : boost-library array
26+
;
27+

test/Jamfile.v2

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ project
4141

4242
#
4343

44+
project : requirements <library>/boost/array//boost_array ;
45+
4446
run array0.cpp ;
4547
run array1.cpp ;
4648
run array2.cpp ;
@@ -58,7 +60,7 @@ compile-fail array_getfail2.cpp
5860
: <warnings>off ;
5961

6062
run array_hash.cpp
61-
: : : [ requires cxx11_noexcept ] ;
63+
: : : <library>/boost/container_hash//boost_container_hash [ requires cxx11_noexcept ] ;
6264

6365
#
6466

0 commit comments

Comments
 (0)