forked from boostorg/function
Compare commits
17 Commits
feature/dr
...
feature/mo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e46566bc89 | ||
|
|
bd668a0d9c | ||
|
|
bc78cd0f3d | ||
|
|
27bbedd3a1 | ||
|
|
55567d8128 | ||
|
|
e198ea3bc1 | ||
|
|
0daa9f439e | ||
|
|
edd5bc27ed | ||
|
|
b397ad461e | ||
|
|
92b9a12c67 | ||
|
|
98ae625d5b | ||
|
|
c7ca5cc828 | ||
|
|
d9647610ff | ||
|
|
96e26bb93e | ||
|
|
b2fdb20690 | ||
|
|
13407f5e3e | ||
|
|
7248975133 |
@@ -19,7 +19,6 @@ target_link_libraries(boost_function
|
|||||||
Boost::config
|
Boost::config
|
||||||
Boost::core
|
Boost::core
|
||||||
Boost::throw_exception
|
Boost::throw_exception
|
||||||
Boost::type_traits
|
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_features(boost_function INTERFACE cxx_std_11)
|
target_compile_features(boost_function INTERFACE cxx_std_11)
|
||||||
|
|||||||
24
build.jam
Normal file
24
build.jam
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2023-2024 René Ferdinand Rivera Morell
|
||||||
|
# Copyright 2024 Peter Dimov
|
||||||
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
|
# https://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
|
||||||
|
;
|
||||||
|
|
||||||
|
project /boost/function ;
|
||||||
|
|
||||||
|
explicit
|
||||||
|
[ alias boost_function : : : : <include>include <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
|
# See accompanying file LICENSE_1_0.txt or copy at
|
||||||
# http://www.boost.org/LICENSE_1_0.txt
|
# 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 ;
|
import testing ;
|
||||||
|
|
||||||
|
project : requirements <library>/boost/function//boost_function ;
|
||||||
|
|
||||||
run bind1st.cpp : : : [ requires cxx98_binders ] ;
|
run bind1st.cpp : : : [ requires cxx98_binders ] ;
|
||||||
run int_div.cpp ;
|
run int_div.cpp ;
|
||||||
run sum_avg.cpp ;
|
run sum_avg.cpp ;
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ project
|
|||||||
<toolset>msvc:<warnings-as-errors>on
|
<toolset>msvc:<warnings-as-errors>on
|
||||||
<toolset>gcc:<warnings-as-errors>on
|
<toolset>gcc:<warnings-as-errors>on
|
||||||
<toolset>clang:<warnings-as-errors>on
|
<toolset>clang:<warnings-as-errors>on
|
||||||
|
<library>/boost/function//boost_function
|
||||||
|
<library>/boost/typeof//boost_typeof
|
||||||
;
|
;
|
||||||
|
|
||||||
run function_test.cpp ;
|
run function_test.cpp ;
|
||||||
@@ -24,7 +26,8 @@ run function_test.cpp : : : <rtti>off <toolset>gcc-4.4,<cxxstd>0x:<build>no : fu
|
|||||||
run function_n_test.cpp ;
|
run function_n_test.cpp ;
|
||||||
run allocator_test.cpp ;
|
run allocator_test.cpp ;
|
||||||
run stateless_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_fail1.cpp ;
|
||||||
compile-fail function_test_fail2.cpp ;
|
compile-fail function_test_fail2.cpp ;
|
||||||
compile function_30.cpp ;
|
compile function_30.cpp ;
|
||||||
@@ -42,9 +45,10 @@ run function_ref_portable.cpp ;
|
|||||||
run contains_test.cpp ;
|
run contains_test.cpp ;
|
||||||
run contains2_test.cpp ;
|
run contains2_test.cpp ;
|
||||||
run nothrow_swap.cpp ;
|
run nothrow_swap.cpp ;
|
||||||
run rvalues_test.cpp ;
|
run rvalues_test.cpp
|
||||||
|
: : : <library>/boost/move//boost_move ;
|
||||||
compile function_typeof_test.cpp
|
compile function_typeof_test.cpp
|
||||||
: <cxxstd>03:<build>no <cxxstd>98:<build>no <cxxstd>0x:<build>no ;
|
: <cxxstd>03:<build>no <cxxstd>98:<build>no <cxxstd>0x:<build>no ;
|
||||||
run result_arg_types_test.cpp ;
|
run result_arg_types_test.cpp ;
|
||||||
run result_arg_n_types_test.cpp ;
|
run result_arg_n_types_test.cpp ;
|
||||||
|
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ target_link_libraries(main Boost::function)
|
|||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(main main)
|
add_test(main main)
|
||||||
|
|
||||||
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
||||||
|
|||||||
@@ -16,10 +16,7 @@ assert
|
|||||||
bind
|
bind
|
||||||
config
|
config
|
||||||
core
|
core
|
||||||
preprocessor
|
|
||||||
throw_exception
|
throw_exception
|
||||||
type_traits
|
|
||||||
typeof
|
|
||||||
|
|
||||||
# Secondary dependencies
|
# Secondary dependencies
|
||||||
|
|
||||||
@@ -40,4 +37,4 @@ target_link_libraries(quick Boost::function Boost::core)
|
|||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(quick quick)
|
add_test(quick quick)
|
||||||
|
|
||||||
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
||||||
|
|||||||
Reference in New Issue
Block a user