Reduce build requirements, and ensure they are enforced in testing

This commit is contained in:
Matt Borland
2025-06-16 13:08:13 -04:00
parent 7363de5e94
commit ee39122450
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ lib boost_random
: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1
<define>BOOST_RANDOM_SOURCE=1
[ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_hdr_chrono cxx11_thread_local cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_atomic cxx11_hdr_type_traits cxx11_allocator cxx11_explicit_conversion_operators ]
[ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_type_traits cxx11_explicit_conversion_operators ]
# default-build
:
+2
View File
@@ -17,6 +17,8 @@ project /boost/random/test : requirements
<library>/boost/random//boost_random
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
[ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_type_traits cxx11_explicit_conversion_operators ]
;
run test_const_mod.cpp /boost/test//boost_unit_test_framework ;