2
0
mirror of https://github.com/boostorg/convert.git synced 2026-01-19 04:02:18 +00:00

Update build deps.

This commit is contained in:
Rene Rivera
2024-08-01 21:27:44 -05:00
parent 3aede9c63c
commit 884faca953
2 changed files with 8 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ import testing ;
project convert_examples
: requirements
<library>/boost/convert//boost_convert
<warnings>on
<toolset>gcc:<warnings>all
<toolset>msvc:<warnings>all

View File

@@ -11,8 +11,9 @@ import-search /boost/config/checks ;
import testing ;
import config : requires ;
project convert_test
project convert_test
: requirements
<library>/boost/convert//boost_convert
<warnings>on
<toolset>icpc:<cxxflags>"-std=c++11"
<toolset>clang:<cxxflags>"-std=c++11"
@@ -26,9 +27,9 @@ project convert_test
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
<include>../include
;
;
exe convert_test_performance : performance.cpp /boost/timer//boost_timer /boost/chrono//boost_chrono
exe convert_test_performance : performance.cpp /boost/timer//boost_timer /boost/chrono//boost_chrono
: [ requires cxx17_hdr_charconv cxx17_structured_bindings cxx17_if_constexpr ] ;
exe convert_test_performance_spirit : performance_spirit.cpp ;
@@ -42,15 +43,15 @@ run user_type.cpp : : : : convert_test_user_type ;
run str_to_int.cpp : : : : convert_test_str_to_int ;
run sfinae.cpp : : : : convert_test_sfinae ;
run has_member.cpp : : : : convert_test_has_member ;
run printf_converter.cpp :
run printf_converter.cpp :
/boost/test/included_unit_test_framework : : : convert_test_printf_converter ;
run stream_converter.cpp :
/boost/test/included_unit_test_framework : : : convert_test_stream_converter ;
# these tests require C++17
run charconv_converter.cpp
run charconv_converter.cpp
: /boost/test//included_unit_test_framework
:
:
: [ requires cxx17_hdr_charconv cxx17_structured_bindings cxx17_if_constexpr ]
<toolset>gcc:<cxxflags>"-O3 -std=c++17 -Wno-unused-variable -Wno-long-long"
: convert_test_charconv_converter ;