Make the library modular usable.

This commit is contained in:
Rene Rivera 2024-03-11 08:38:17 -05:00
parent 7c8ec2114b
commit d7bb0dfb16
2 changed files with 23 additions and 0 deletions

21
build.jam Normal file
View File

@ -0,0 +1,21 @@
# Copyright René Ferdinand Rivera Morell 2023
# 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)
import project ;
project /boost/throw_exception
: common-requirements
<source>/boost/assert//boost_assert
<source>/boost/config//boost_config
<include>include
;
explicit
[ alias boost_throw_exception ]
[ 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
<source>/boost/core//boost_core
<use>/boost/exception//boost_exception
<warnings>extra