diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..3619487 --- /dev/null +++ b/build.jam @@ -0,0 +1,26 @@ +# Copyright René Ferdinand Rivera Morell 2023 +# 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) + +import project ; + +project /boost/function_types + : common-requirements + /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 + include + ; + +explicit + [ alias boost_function_types ] + [ alias all : boost_function_types example test ] + ; + +call-if : boost-library function_types + : install boost_function_types + ; diff --git a/example/Jamfile b/example/Jamfile index 08ab43d..7af3c18 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -6,14 +6,20 @@ #------------------------------------------------------------------------------- -exe interpreter_example : interpreter_example.cpp ; +exe interpreter_example : interpreter_example.cpp + : /boost/tokenizer//boost_tokenizer + /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 - : . ; # needed for Boost.PP file iteration with some compilers + : . # needed for Boost.PP file iteration with some compilers + /boost/timer//boost_timer + /boost/bind//boost_bind + ; exe macro_type_args_example : macro_type_args_example.cpp ; diff --git a/test/Jamfile b/test/Jamfile index e652c46..084dae7 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -75,12 +75,14 @@ import testing ; # Code from the examples - [ compile ../example/interpreter_example.cpp ] + [ compile ../example/interpreter_example.cpp : /boost/tokenizer//boost_tokenizer /boost/lexical_cast//boost_lexical_cast ] [ compile ../example/result_of_example.cpp ] [ compile ../example/interface_example.cpp ] [ compile ../example/fast_mem_fn_example.cpp # needed for Boost.PP file iteration with some compilers : ../example + /boost/timer//boost_timer + /boost/bind//boost_bind ] [ compile ../example/macro_type_args_example.cpp ] ;