Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:38:17 -05:00
parent 4bc9de322c
commit f2cee6fa26
2 changed files with 27 additions and 0 deletions

22
build.jam Normal file
View File

@@ -0,0 +1,22 @@
# 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/typeof
: common-requirements
<source>/boost/config//boost_config
<source>/boost/preprocessor//boost_preprocessor
<source>/boost/type_traits//boost_type_traits
<include>include
;
explicit
[ alias boost_typeof ]
[ alias all : boost_typeof test ]
;
call-if : boost-library typeof
;

View File

@@ -8,6 +8,11 @@
import testing ;
import set ;
project : requirements
<source>/boost/core//boost_core
<source>/boost/lexical_cast//boost_lexical_cast
;
# The special requirement is not ported yet.
#
#local rule special-requirements ( toolset variant : properties * )