mirror of
https://github.com/boostorg/function_types.git
synced 2025-07-29 12:27:35 +02:00
Merge branch 'modular' of https://github.com/grafikrobot/boostorg.function_types into feature/modular-b2
This commit is contained in:
29
build.jam
Normal file
29
build.jam
Normal file
@ -0,0 +1,29 @@
|
||||
# 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/detail//boost_detail
|
||||
/boost/mpl//boost_mpl
|
||||
/boost/preprocessor//boost_preprocessor
|
||||
/boost/type_traits//boost_type_traits ;
|
||||
|
||||
project /boost/function_types
|
||||
: common-requirements
|
||||
<include>include
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_function_types : : : : <library>$(boost_dependencies) ]
|
||||
[ alias all : boost_function_types example test ]
|
||||
;
|
||||
|
||||
call-if : boost-library function_types
|
||||
: install boost_function_types
|
||||
;
|
||||
|
@ -1,19 +1,27 @@
|
||||
|
||||
# (C) Copyright Tobias Schwinger
|
||||
# (C) Copyright Tobias Schwinger
|
||||
#
|
||||
# Use, modification and distribution are subject to the Boost Software License,
|
||||
# Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
exe interpreter_example : interpreter_example.cpp ;
|
||||
project : requirements <library>/boost/function_types//boost_function_types ;
|
||||
|
||||
exe interpreter_example : interpreter_example.cpp
|
||||
: <library>/boost/tokenizer//boost_tokenizer
|
||||
<library>/boost/lexical_cast//boost_lexical_cast
|
||||
;
|
||||
|
||||
exe result_of_example : result_of_example.cpp ;
|
||||
|
||||
exe interface_example : interface_example.cpp ;
|
||||
|
||||
exe fast_mem_fn_example : fast_mem_fn_example.cpp
|
||||
: <include>. ; # needed for Boost.PP file iteration with some compilers
|
||||
exe fast_mem_fn_example : fast_mem_fn_example.cpp
|
||||
: <include>. # needed for Boost.PP file iteration with some compilers
|
||||
<library>/boost/timer//boost_timer
|
||||
<library>/boost/bind//boost_bind
|
||||
;
|
||||
|
||||
exe macro_type_args_example : macro_type_args_example.cpp ;
|
||||
|
||||
|
18
test/Jamfile
18
test/Jamfile
@ -1,5 +1,5 @@
|
||||
|
||||
# (C) Copyright Tobias Schwinger
|
||||
# (C) Copyright Tobias Schwinger
|
||||
#
|
||||
# Use, modification and distribution are subject to the Boost Software License,
|
||||
# Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
|
||||
@ -8,8 +8,10 @@
|
||||
|
||||
import testing ;
|
||||
|
||||
project : requirements <library>/boost/function_types//boost_function_types ;
|
||||
|
||||
{
|
||||
test-suite function_types :
|
||||
test-suite function_types :
|
||||
|
||||
# Classification
|
||||
|
||||
@ -28,7 +30,7 @@ import testing ;
|
||||
# [ compile classification/is_cv_function.cpp ]
|
||||
|
||||
# Decomposition
|
||||
|
||||
|
||||
[ compile decomposition/components.cpp ]
|
||||
[ compile decomposition/result_type.cpp ]
|
||||
[ compile decomposition/function_arity.cpp ]
|
||||
@ -70,17 +72,19 @@ import testing ;
|
||||
[ compile custom_ccs/member_ccs_exact.cpp : <address-model>64:<build>no ]
|
||||
|
||||
# Property tag
|
||||
|
||||
|
||||
[ compile custom_ccs/property_tag.cpp ]
|
||||
|
||||
|
||||
# Code from the examples
|
||||
|
||||
[ compile ../example/interpreter_example.cpp ]
|
||||
[ compile ../example/interpreter_example.cpp : <library>/boost/tokenizer//boost_tokenizer <library>/boost/lexical_cast//boost_lexical_cast ]
|
||||
[ compile ../example/result_of_example.cpp ]
|
||||
[ compile ../example/interface_example.cpp ]
|
||||
[ compile ../example/fast_mem_fn_example.cpp
|
||||
[ compile ../example/fast_mem_fn_example.cpp
|
||||
# needed for Boost.PP file iteration with some compilers
|
||||
: <include>../example
|
||||
<library>/boost/timer//boost_timer
|
||||
<library>/boost/bind//boost_bind
|
||||
]
|
||||
[ compile ../example/macro_type_args_example.cpp ]
|
||||
;
|
||||
|
Reference in New Issue
Block a user