123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- # Boost.Variant2 Library Test Jamfile
- #
- # Copyright 2015-2019 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
- import testing ;
- import ../../config/checks/config : requires ;
- project
- : default-build
- <warnings>all
- : requirements
- [ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_constexpr ]
- <toolset>msvc:<warnings-as-errors>on
- <toolset>gcc:<warnings-as-errors>on
- <toolset>clang:<warnings-as-errors>on
- ;
- run variant_size.cpp ;
- run variant_alternative.cpp ;
- run variant_holds_alternative.cpp ;
- compile variant_holds_alternative_cx.cpp ;
- run variant_get_by_index.cpp ;
- compile variant_get_by_index_cx.cpp ;
- run variant_get_by_type.cpp ;
- compile variant_get_by_type_cx.cpp ;
- run variant_default_construct.cpp ;
- compile variant_default_construct_cx.cpp ;
- run variant_copy_construct.cpp ;
- compile variant_copy_construct_cx.cpp : <toolset>msvc-14.0:<build>no ;
- run variant_move_construct.cpp ;
- compile variant_move_construct_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_value_construct.cpp ;
- compile variant_value_construct_cx.cpp ;
- run variant_in_place_index_construct.cpp ;
- compile variant_in_place_index_construct_cx.cpp ;
- run variant_in_place_type_construct.cpp ;
- compile variant_in_place_type_construct_cx.cpp ;
- run variant_copy_assign.cpp ;
- compile variant_copy_assign_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_move_assign.cpp ;
- compile variant_move_assign_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_value_assign.cpp ;
- compile variant_value_assign_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_emplace_index.cpp ;
- compile variant_emplace_index_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_emplace_type.cpp ;
- compile variant_emplace_type_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_swap.cpp ;
- run variant_eq_ne.cpp ;
- compile variant_eq_ne_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_lt_gt.cpp ;
- compile variant_lt_gt_cx.cpp : [ requires cxx14_constexpr ] ;
- run variant_destroy.cpp ;
- run variant_visit.cpp ;
- run variant_convert_construct.cpp ;
- run variant_subset.cpp ;
- run variant_valueless.cpp ;
- run variant_copy_construct_throw.cpp ;
- run variant_move_construct_throw.cpp ;
- run variant_convert_construct_throw.cpp ;
- run variant_copy_assign_throw.cpp ;
- run variant_move_assign_throw.cpp ;
- local NX =
- <exception-handling>off
- <toolset>msvc:<cxxflags>/wd4530
- <toolset>msvc:<cxxflags>/wd4577
- ;
- run variant_get_by_index.cpp throw_exception.cpp : : : $(NX) : variant_get_by_index_nx ;
- compile variant_get_by_index_cx.cpp : $(NX) : variant_get_by_index_cx_nx ;
- run variant_get_by_type.cpp throw_exception.cpp : : : $(NX) : variant_get_by_type_nx ;
- compile variant_get_by_type_cx.cpp : $(NX) : variant_get_by_type_cx_nx ;
- run variant_subset.cpp throw_exception.cpp : : : $(NX) : variant_subset_nx ;
|