2
0
mirror of https://github.com/boostorg/convert.git synced 2026-01-19 04:02:18 +00:00

Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:32:15 -05:00
parent 1179fbd568
commit 836cf5e8a5
2 changed files with 35 additions and 1 deletions

30
build.jam Normal file
View File

@@ -0,0 +1,30 @@
# Copyright René Ferdinand Rivera Morell 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)
import project ;
project /boost/convert
: common-requirements
<source>/boost/config//boost_config
<source>/boost/core//boost_core
<source>/boost/function_types//boost_function_types
<source>/boost/lexical_cast//boost_lexical_cast
<source>/boost/math//boost_math
<source>/boost/mpl//boost_mpl
<source>/boost/optional//boost_optional
<source>/boost/parameter//boost_parameter
<source>/boost/range//boost_range
<source>/boost/spirit//boost_spirit
<source>/boost/type_traits//boost_type_traits
<include>include
;
explicit
[ alias boost_convert ]
[ alias all : boost_convert example test ]
;
call-if : boost-library convert
;

View File

@@ -3,9 +3,13 @@
# Distributed under the Boost Software License, Version 1.0.
# See copy at http://www.boost.org/LICENSE_1_0.txt.
require-b2 5.0.1 ;
import-search /boost/config/checks ;
# bring in the rules for testing
import testing ;
import ../../config/checks/config : requires ;
import config : requires ;
project convert_test
: requirements