Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:38:17 -05:00
parent 821c53c0b4
commit fc1decfa08
2 changed files with 33 additions and 0 deletions

29
build.jam Normal file
View File

@ -0,0 +1,29 @@
# 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/type_traits
: common-requirements
<source>/boost/config//boost_config
<source>/boost/static_assert//boost_static_assert
<include>include
;
explicit
[ alias boost_type_traits ]
[ alias all : boost_type_traits test ]
# Other Boost lib tests depend on the type_traits test checks.
[ alias testing
: # sources
: # requirements
: # default-buidl
: # usage-requirements
<include>test
]
;
call-if : boost-library type_traits
;

View File

@ -18,6 +18,10 @@ if [ os.environ CI ]
# regular
project : requirements
<source>/boost/core//boost_core
<source>/boost/move//boost_move
<source>/boost/mpl//boost_mpl
# default to all warnings on:
<warnings>all
# set warnings as errors for those compilers we know we get warning free: