Merge branch 'modular' of https://github.com/grafikrobot/boostorg.throw_exception into feature/modular-b2

This commit is contained in:
Peter Dimov
2024-08-28 19:27:22 +03:00
2 changed files with 26 additions and 0 deletions

24
build.jam Normal file
View File

@ -0,0 +1,24 @@
# 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 ;
project /boost/throw_exception
: common-requirements
<include>include
;
explicit
[ alias boost_throw_exception : : : : <library>$(boost_dependencies) ]
[ alias all : boost_throw_exception test ]
;
call-if : boost-library throw_exception
;

View File

@ -12,6 +12,8 @@ local gcc-flags = -Wsign-promo -Wconversion -Wsign-conversion -Wshadow -Wundef ;
project
: requirements
<library>/boost/core//boost_core
<use>/boost/exception//boost_exception
<warnings>extra