forked from boostorg/tuple
Merge pull request #27 from grafikrobot/modular
Add support for modular build structure.
This commit is contained in:
26
build.jam
Normal file
26
build.jam
Normal 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
|
||||
;
|
||||
|
@ -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 ;
|
||||
|
Reference in New Issue
Block a user