Skip to content

Commit

Permalink
Merge 97f7df5 into b33ff4f
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Jul 20, 2024
2 parents b33ff4f + 97f7df5 commit 6a953b4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 7 deletions.
32 changes: 32 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright René Ferdinand Rivera Morell 2023
# 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 ;

project /boost/variant
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
<library>/boost/core//boost_core
<library>/boost/detail//boost_detail
<library>/boost/integer//boost_integer
<library>/boost/mpl//boost_mpl
<library>/boost/preprocessor//boost_preprocessor
<library>/boost/static_assert//boost_static_assert
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_index//boost_type_index
<library>/boost/type_traits//boost_type_traits
<library>/boost/utility//boost_utility
<include>include
;

explicit
[ alias boost_variant ]
[ alias all : boost_variant test ]
;

call-if : boost-library variant
;
16 changes: 9 additions & 7 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
# 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 ;

local below_cpp14 = 98 03 0x 11 ;
local since_cpp20 = 2a 20 latest ;
Expand All @@ -30,7 +32,7 @@ test-suite variant
[ run test6.cpp : : : : variant_test6 ]
[ run test7.cpp : : : : variant_test7 ]
[ run test8.cpp : : : : variant_test8 ]
[ run test9.cpp : : : : variant_test9 ]
[ run test9.cpp : : : <source>/boost/fusion//boost_fusion : variant_test9 ]
[ run recursive_variant_test.cpp ]
[ run variant_reference_test.cpp ]
[ run variant_comparison_test.cpp ]
Expand All @@ -39,7 +41,7 @@ test-suite variant
[ run variant_get_test.cpp ]
[ compile-fail variant_rvalue_get_with_ampersand_test.cpp ]
[ compile-fail no_rvalue_to_nonconst_visitation.cpp ]
[ compile fusion_interop.cpp ]
[ compile fusion_interop.cpp : <source>/boost/fusion//boost_fusion ]
[ run variant_polymorphic_get_test.cpp ]
[ run variant_multivisit_test.cpp ]
[ run hash_variant_test.cpp ]
Expand All @@ -58,13 +60,13 @@ test-suite variant
[ run recursive_variant_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : variant_no_rtti_test ]
[ run hash_recursive_variant_test.cpp ]
[ run variant_swap_test.cpp ]
[ run auto_visitors.cpp ]
[ run auto_visitors.cpp : : : <source>/boost/lexical_cast//boost_lexical_cast ]
[ run issue42.cpp ]
[ run issue53.cpp ]
[ run issue53.cpp : : : <source>/boost/thread//boost_thread ]
[ run overload_selection.cpp : : : "<cxxstd>$(since_cpp20)"\:<build>no ]
[ run recursive_wrapper_move_test.cpp ]
[ run recursive_wrapper_move_test.cpp : : : <source>/boost/array//boost_array ]
[ run variant_over_joint_view_test.cpp ]
[ run const_ref_apply_visitor.cpp ]
[ run const_ref_apply_visitor.cpp : : : <source>/boost/lexical_cast//boost_lexical_cast ]
;


0 comments on commit 6a953b4

Please sign in to comment.