Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…rt_ptr into feature/modular-b2
  • Loading branch information
pdimov committed Aug 27, 2024
2 parents e9790f9 + d4c605e commit 71902a7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 8 deletions.
29 changes: 29 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -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>include
;

explicit
[ alias boost_smart_ptr : : : : <library>$(boost_dependencies) ]
[ alias all : boost_smart_ptr test ]
;

call-if : boost-library smart_ptr
;

21 changes: 13 additions & 8 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
<library>/boost/align//boost_align
<library>/boost/container_hash//boost_container_hash
<library>/boost/smart_ptr//boost_smart_ptr
<toolset>gcc:<cxxflags>-Wno-non-virtual-dtor
<toolset>gcc:<cxxflags>-Wno-deprecated-declarations
#<toolset>gcc:<cxxflags>-Wno-delete-non-virtual-dtor (not in 4.4/4.6)
Expand Down Expand Up @@ -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 : : : <library>/boost/atomic//boost_atomic ;
run esft_void_test.cpp ;
run esft_second_ptr_test.cpp ;
run make_shared_esft_test.cpp ;
Expand Down Expand Up @@ -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 : : : <library>/boost/atomic//boost_atomic ;

run sp_constexpr_test.cpp ;
run sp_constexpr_test2.cpp ;
Expand Down Expand Up @@ -408,19 +413,19 @@ run lsp_hash_test2.cpp ;
local MT = <threading>multi [ requires cxx11_decltype cxx11_noexcept ] <toolset>gcc-4.6:<build>no ;

run atomic_count_mt_test.cpp
: : : $(MT) ;
: : : $(MT) <library>/boost/bind//boost_bind ;

run spinlock_mt_test.cpp
: : : $(MT) ;
: : : $(MT) <library>/boost/bind//boost_bind ;

run spinlock_pool_mt_test.cpp
: : : $(MT) ;
: : : $(MT) <library>/boost/bind//boost_bind ;

run shared_ptr_mt_test.cpp
: : : $(MT) ;
: : : $(MT) <library>/boost/bind//boost_bind ;

run weak_ptr_mt_test.cpp
: : : $(MT) ;
: : : $(MT) <library>/boost/bind//boost_bind ;

compile sp_report_implementation.cpp ;

Expand Down

0 comments on commit 71902a7

Please sign in to comment.