Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:27:02 -05:00
parent 447e0b3a33
commit ca3c3c9021
2 changed files with 22 additions and 0 deletions

20
build.jam Normal file
View File

@ -0,0 +1,20 @@
# 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/assert
: common-requirements
<source>/boost/config//boost_config
<include>include
;
explicit
[ alias boost_assert ]
[ alias all : boost_assert test ]
;
call-if : boost-library assert
;

View File

@ -9,6 +9,8 @@
import testing ;
project : requirements
<source>/boost/core//boost_core
<warnings>extra
<toolset>msvc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on