mirror of
https://github.com/boostorg/function.git
synced 2025-07-29 20:37:14 +02:00
Merge branch 'modular' of https://github.com/grafikrobot/boostorg.function into feature/modular-b2
This commit is contained in:
28
build.jam
Normal file
28
build.jam
Normal file
@ -0,0 +1,28 @@
|
||||
# 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/assert//boost_assert
|
||||
/boost/bind//boost_bind
|
||||
/boost/config//boost_config
|
||||
/boost/core//boost_core
|
||||
/boost/throw_exception//boost_throw_exception
|
||||
/boost/type_traits//boost_type_traits ;
|
||||
|
||||
project /boost/function
|
||||
: common-requirements
|
||||
<include>include
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_function : : : : <library>$(boost_dependencies) ]
|
||||
[ alias all : boost_function example test ]
|
||||
;
|
||||
|
||||
call-if : boost-library function
|
||||
;
|
||||
|
@ -6,9 +6,13 @@
|
||||
# See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
import ../../config/checks/config : requires ;
|
||||
require-b2 5.0.1 ;
|
||||
import-search /boost/config/checks ;
|
||||
import config : requires ;
|
||||
import testing ;
|
||||
|
||||
project : requirements <library>/boost/function//boost_function ;
|
||||
|
||||
run bind1st.cpp : : : [ requires cxx98_binders ] ;
|
||||
run int_div.cpp ;
|
||||
run sum_avg.cpp ;
|
||||
|
@ -16,6 +16,8 @@ project
|
||||
<toolset>msvc:<warnings-as-errors>on
|
||||
<toolset>gcc:<warnings-as-errors>on
|
||||
<toolset>clang:<warnings-as-errors>on
|
||||
<library>/boost/typeof//boost_typeof
|
||||
<library>/boost/function//boost_function
|
||||
;
|
||||
|
||||
run function_test.cpp ;
|
||||
@ -24,7 +26,7 @@ run function_test.cpp : : : <rtti>off <toolset>gcc-4.4,<cxxstd>0x:<build>no : fu
|
||||
run function_n_test.cpp ;
|
||||
run allocator_test.cpp ;
|
||||
run stateless_test.cpp ;
|
||||
run lambda_test.cpp ;
|
||||
run lambda_test.cpp : : : <library>/boost/lambda//boost_lambda ;
|
||||
compile-fail function_test_fail1.cpp ;
|
||||
compile-fail function_test_fail2.cpp ;
|
||||
compile function_30.cpp ;
|
||||
@ -42,7 +44,7 @@ run function_ref_portable.cpp ;
|
||||
run contains_test.cpp ;
|
||||
run contains2_test.cpp ;
|
||||
run nothrow_swap.cpp ;
|
||||
run rvalues_test.cpp ;
|
||||
run rvalues_test.cpp : : : <library>/boost/move//boost_move ;
|
||||
compile function_typeof_test.cpp
|
||||
: <cxxstd>03:<build>no <cxxstd>98:<build>no <cxxstd>0x:<build>no ;
|
||||
run result_arg_types_test.cpp ;
|
||||
|
Reference in New Issue
Block a user