Merge branch 'modular' of https://github.com/grafikrobot/boostorg.array into feature/pr-24

This commit is contained in:
Peter Dimov
2025-01-27 21:16:20 +02:00
2 changed files with 30 additions and 1 deletions

27
build.jam Normal file
View File

@ -0,0 +1,27 @@
# 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/config//boost_config
/boost/core//boost_core
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception ;
project /boost/array
: common-requirements
<include>include
;
explicit
[ alias boost_array : : : : <library>$(boost_dependencies) ]
[ alias all : boost_array test ]
;
call-if : boost-library array
;

View File

@ -41,6 +41,8 @@ project
#
project : requirements <library>/boost/array//boost_array ;
run array0.cpp ;
run array1.cpp ;
run array2.cpp ;
@ -58,7 +60,7 @@ compile-fail array_getfail2.cpp
: <warnings>off ;
run array_hash.cpp
: : : [ requires cxx11_noexcept ] ;
: : : <library>/boost/container_hash//boost_container_hash [ requires cxx11_noexcept ] ;
#