diff --git a/Jamfile b/Jamfile deleted file mode 100644 index d88704f2..00000000 --- a/Jamfile +++ /dev/null @@ -1,11 +0,0 @@ -# Boost.Signals2 Library Jamfile -# -# Copyright (c) 2018 James E. King III -# -# Use, modification, and distribution are subject to 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) - -# please order by name to ease maintenance -build-project example ; -build-project test ; diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..f2254480 --- /dev/null +++ b/build.jam @@ -0,0 +1,37 @@ +# 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/function//boost_function + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/optional//boost_optional + /boost/parameter//boost_parameter + /boost/preprocessor//boost_preprocessor + /boost/smart_ptr//boost_smart_ptr + /boost/throw_exception//boost_throw_exception + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/variant//boost_variant ; + +project /boost/signals2 + : common-requirements + include + ; + +explicit + [ alias boost_signals2 : : : : $(boost_dependencies) ] + [ alias all : example test ] + ; + +call-if : boost-library signals2 + ; + diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index 079ad443..1a99629e 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -8,7 +8,7 @@ # For more information, see http://www.boost.org -project : requirements /boost//headers ; +project : requirements /boost/signals2//boost_signals2 ; exe hello_world_slot : hello_world_slot.cpp ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index aacb3a4c..57d95a07 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -13,8 +13,9 @@ import testing ; project - : source-location . : requirements + /boost/signals2//boost_signals2 + /boost/test//included true # /boost/test//boost_unit_test_framework # static @@ -23,7 +24,7 @@ project rule thread-run ( sources ) { return - [ run $(sources) : : : /boost/thread//boost_thread/ + [ run $(sources) : : : /boost/thread//boost_thread multi ] ; }