forked from boostorg/smart_ptr
Compare commits
21 Commits
feature/dr
...
feature/mo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9c54b2430 | ||
|
|
17e299f11e | ||
|
|
71902a7bdb | ||
|
|
d4c605e6ff | ||
|
|
f5152b0904 | ||
|
|
7caada352c | ||
|
|
11e56a4ad9 | ||
|
|
c33504189a | ||
|
|
960741cb2e | ||
|
|
72c25383d5 | ||
|
|
6b826f1139 | ||
|
|
591d0e0728 | ||
|
|
e86015f9f6 | ||
|
|
4f9487d0f3 | ||
|
|
0925dcce4e | ||
|
|
6bc7ec7e6b | ||
|
|
fc0eeeffa6 | ||
|
|
4df3174d4a | ||
|
|
1a51e0f02c | ||
|
|
ac9154d1e5 | ||
|
|
788313fda2 |
26
build.jam
Normal file
26
build.jam
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 2023-2024 René Ferdinand Rivera Morell
|
||||
# Copyright 2024 Peter Dimov
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# https://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 ;
|
||||
|
||||
explicit
|
||||
[ alias boost_smart_ptr : : : : <include>include <library>$(boost_dependencies) ]
|
||||
[ alias all : boost_smart_ptr test ]
|
||||
;
|
||||
|
||||
call-if : boost-library smart_ptr
|
||||
;
|
||||
25
test/Jamfile
25
test/Jamfile
@@ -7,17 +7,25 @@
|
||||
# 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/smart_ptr//boost_smart_ptr
|
||||
<library>/boost/align//boost_align
|
||||
<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)
|
||||
;
|
||||
|
||||
local cnhash = [ requires cxx11_decltype cxx11_noexcept ] <toolset>gcc-4.6:<build>no ;
|
||||
local cnhash =
|
||||
|
||||
<library>/boost/container_hash//boost_container_hash
|
||||
[ requires cxx11_decltype cxx11_noexcept ]
|
||||
<toolset>gcc-4.6:<build>no ;
|
||||
|
||||
# quick test (for CI)
|
||||
run quick.cpp ;
|
||||
@@ -79,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 ;
|
||||
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 ;
|
||||
@@ -251,7 +260,8 @@ 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 ;
|
||||
@@ -405,7 +415,12 @@ run lsp_hash_test.cpp
|
||||
: : : $(cnhash) ;
|
||||
run lsp_hash_test2.cpp ;
|
||||
|
||||
local MT = <threading>multi [ requires cxx11_decltype cxx11_noexcept ] <toolset>gcc-4.6:<build>no ;
|
||||
local MT =
|
||||
|
||||
<threading>multi
|
||||
<library>/boost/bind//boost_bind
|
||||
[ requires cxx11_decltype cxx11_noexcept ]
|
||||
<toolset>gcc-4.6:<build>no ;
|
||||
|
||||
run atomic_count_mt_test.cpp
|
||||
: : : $(MT) ;
|
||||
|
||||
@@ -15,4 +15,4 @@ target_link_libraries(quick Boost::smart_ptr Boost::core)
|
||||
enable_testing()
|
||||
add_test(quick quick)
|
||||
|
||||
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
||||
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
||||
|
||||
@@ -21,4 +21,4 @@ target_link_libraries(quick Boost::smart_ptr Boost::core)
|
||||
enable_testing()
|
||||
add_test(quick quick)
|
||||
|
||||
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
||||
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
|
||||
|
||||
Reference in New Issue
Block a user