Merge pull request #27 from grafikrobot/modular

Add support for modular build structure.
This commit is contained in:
Joel de Guzman
2024-08-19 10:45:51 +08:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

26
build.jam Normal file
View File

@ -0,0 +1,26 @@
# Copyright René Ferdinand Rivera Morell 2023-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)
require-b2 5.2 ;
constant boost_dependencies :
/boost/config//boost_config
/boost/core//boost_core
/boost/static_assert//boost_static_assert
/boost/type_traits//boost_type_traits ;
project /boost/tuple
: common-requirements
<include>include
;
explicit
[ alias boost_tuple : : : : <library>$(boost_dependencies) ]
[ alias all : boost_tuple test ]
;
call-if : boost-library tuple
;

View File

@ -3,6 +3,8 @@
import testing ;
project : requirements <library>/boost/tuple//boost_tuple ;
run tuple_test_bench.cpp ;
run io_test.cpp ;
run another_tuple_test_bench.cpp ;