2
0
mirror of https://github.com/boostorg/format.git synced 2026-02-02 21:02:12 +00:00
Files
format/benchmark/Jamfile
James E. King III 60ae371a68 C++11, Fix use of deprecated timer, fix group assignment operator.
Dependencies like optional and smart_ptr will no longer support C++03
therefore the new minimum language level is C++11, and all the CI jobs
for both C++98 and C++03 have been removed.

Fixed use of the deprecated top level timer class as it was causing
build problems using warnings-as-errors.

Fixed -Wdeprecated-cast in group.hpp.
Fixed -Winvalid-source-encoding in sample_new_features.cpp.
Fixed -Wself-assign-overloaded in format_test2.cpp.

These changes also allow b2 to work properly when executed from
within the format directory.
2024-05-15 13:21:05 -04:00

31 lines
740 B
Plaintext

# Boost.Format Library benchmark Jamfile
#
# Copyright (c) 2003 Samuel Krempp
#
# Distributed under the Boost Software License, Version 1.0.
# See www.boost.org/LICENSE_1_0.txt
#
project libs/format/benchmark
: requirements
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
;
exe bench_format_no_locale
: bench_format.cpp
/boost/timer//boost_timer
: <define>BOOST_NO_STD_LOCALE <location-prefix>no_locale
;
exe bench_format_normal
: bench_format.cpp
/boost/timer//boost_timer
: <location-prefix>normal
;
exe bench_format_no_reuse_stream
: bench_format.cpp
/boost/timer//boost_timer
: <include>alts <define>BOOST_FORMAT_NO_OSS_MEMBER <location-prefix>no_reuse_stream
;