diff --git a/build.jam b/build.jam new file mode 100644 index 0000000000..d1eb008c7b --- /dev/null +++ b/build.jam @@ -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/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/move//boost_move + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits ; + +project /boost/smart_ptr + : common-requirements + include + ; + +explicit + [ alias boost_smart_ptr : : : : $(boost_dependencies) ] + [ alias all : boost_smart_ptr test ] + ; + +call-if : boost-library smart_ptr + ; + diff --git a/test/Jamfile b/test/Jamfile index dcc29d3ae0..683e9b190c 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -7,11 +7,16 @@ # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +require-b2 5.0.1 ; +import-search /boost/config/checks ; +import config : requires ; import testing ; -import ../../config/checks/config : requires ; project : requirements + /boost/align//boost_align + /boost/container_hash//boost_container_hash + /boost/smart_ptr//boost_smart_ptr gcc:-Wno-non-virtual-dtor gcc:-Wno-deprecated-declarations #gcc:-Wno-delete-non-virtual-dtor (not in 4.4/4.6) @@ -79,7 +84,7 @@ run shared_ptr_convertible_test.cpp ; run wp_convertible_test.cpp ; run ip_convertible_test.cpp ; run allocate_shared_test.cpp ; -run sp_atomic_test.cpp ; +run sp_atomic_test.cpp : : : /boost/atomic//boost_atomic ; run esft_void_test.cpp ; run esft_second_ptr_test.cpp ; run make_shared_esft_test.cpp ; @@ -251,7 +256,7 @@ compile make_shared_msvc_test.cpp ; compile lwm_win32_cs_test.cpp ; -run atomic_sp_test.cpp ; +run atomic_sp_test.cpp : : : /boost/atomic//boost_atomic ; run sp_constexpr_test.cpp ; run sp_constexpr_test2.cpp ; @@ -408,19 +413,19 @@ run lsp_hash_test2.cpp ; local MT = multi [ requires cxx11_decltype cxx11_noexcept ] gcc-4.6:no ; run atomic_count_mt_test.cpp - : : : $(MT) ; + : : : $(MT) /boost/bind//boost_bind ; run spinlock_mt_test.cpp - : : : $(MT) ; + : : : $(MT) /boost/bind//boost_bind ; run spinlock_pool_mt_test.cpp - : : : $(MT) ; + : : : $(MT) /boost/bind//boost_bind ; run shared_ptr_mt_test.cpp - : : : $(MT) ; + : : : $(MT) /boost/bind//boost_bind ; run weak_ptr_mt_test.cpp - : : : $(MT) ; + : : : $(MT) /boost/bind//boost_bind ; compile sp_report_implementation.cpp ;