Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:38:17 -05:00
committed by Peter Dimov
parent bff5cb65a5
commit 8f969a62f7
3 changed files with 27 additions and 11 deletions

10
Jamfile
View File

@ -1,10 +0,0 @@
#
# Copyright (c) 2019 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# 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)
#
# Official repository: https://github.com/boostorg/static_string
#
build-project test ;

26
build.jam Normal file
View File

@ -0,0 +1,26 @@
# 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/static_string
: common-requirements
<source>/boost/assert//boost_assert
<source>/boost/config//boost_config
<source>/boost/container_hash//boost_container_hash
<source>/boost/core//boost_core
<source>/boost/static_assert//boost_static_assert
<source>/boost/throw_exception//boost_throw_exception
<source>/boost/utility//boost_utility
<include>include
;
explicit
[ alias boost_static_string ]
[ alias all : boost_static_string test ]
;
call-if : boost-library static_string
;

View File

@ -8,7 +8,7 @@
#
import testing ;
import ../../config/checks/config : requires ;
import config : requires ;
local defines =
[ requires