diff --git a/build.jam b/build.jam index d1eb008..6545651 100644 --- a/build.jam +++ b/build.jam @@ -1,7 +1,7 @@ -# Copyright René Ferdinand Rivera Morell 2023-2024 +# Copyright 2023-2024 René Ferdinand Rivera Morell +# Copyright 2024 Peter Dimov # 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) +# https://www.boost.org/LICENSE_1_0.txt require-b2 5.2 ; @@ -12,18 +12,15 @@ constant boost_dependencies : /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 + /boost/type_traits//boost_type_traits ; +project /boost/smart_ptr ; + explicit - [ alias boost_smart_ptr : : : : $(boost_dependencies) ] + [ alias boost_smart_ptr : : : : include $(boost_dependencies) ] [ alias all : boost_smart_ptr test ] ; call-if : boost-library smart_ptr ; - diff --git a/test/Jamfile b/test/Jamfile index 683e9b1..e14d6e7 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -14,15 +14,18 @@ import testing ; project : requirements - /boost/align//boost_align - /boost/container_hash//boost_container_hash /boost/smart_ptr//boost_smart_ptr + /boost/align//boost_align gcc:-Wno-non-virtual-dtor gcc:-Wno-deprecated-declarations #gcc:-Wno-delete-non-virtual-dtor (not in 4.4/4.6) ; -local cnhash = [ requires cxx11_decltype cxx11_noexcept ] gcc-4.6:no ; +local cnhash = + + /boost/container_hash//boost_container_hash + [ requires cxx11_decltype cxx11_noexcept ] + gcc-4.6:no ; # quick test (for CI) run quick.cpp ; @@ -84,7 +87,8 @@ 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 : : : /boost/atomic//boost_atomic ; +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 ; @@ -256,7 +260,8 @@ compile make_shared_msvc_test.cpp ; compile lwm_win32_cs_test.cpp ; -run atomic_sp_test.cpp : : : /boost/atomic//boost_atomic ; +run atomic_sp_test.cpp + : : : /boost/atomic//boost_atomic ; run sp_constexpr_test.cpp ; run sp_constexpr_test2.cpp ; @@ -410,22 +415,27 @@ run lsp_hash_test.cpp : : : $(cnhash) ; run lsp_hash_test2.cpp ; -local MT = multi [ requires cxx11_decltype cxx11_noexcept ] gcc-4.6:no ; +local MT = + + multi + /boost/bind//boost_bind + [ requires cxx11_decltype cxx11_noexcept ] + gcc-4.6:no ; run atomic_count_mt_test.cpp - : : : $(MT) /boost/bind//boost_bind ; + : : : $(MT) ; run spinlock_mt_test.cpp - : : : $(MT) /boost/bind//boost_bind ; + : : : $(MT) ; run spinlock_pool_mt_test.cpp - : : : $(MT) /boost/bind//boost_bind ; + : : : $(MT) ; run shared_ptr_mt_test.cpp - : : : $(MT) /boost/bind//boost_bind ; + : : : $(MT) ; run weak_ptr_mt_test.cpp - : : : $(MT) /boost/bind//boost_bind ; + : : : $(MT) ; compile sp_report_implementation.cpp ;