1
0
Fork 0
mirror of https://github.com/dragonfireclient/dragonfireclient.git synced 2024-12-04 07:54:00 -05:00
dragonfireclient/lib/catch2/CMakeLists.txt
paradust7 87472150bc
Add benchmarks for json string serialize/deserialize (#12258)
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06 21:17:16 +01:00

16 lines
660 B
CMake

# catch2 is distributed as a standalone header.
#
# Downloaded from:
#
# https://github.com/catchorg/Catch2/releases/download/v2.13.9/catch.hpp
#
# The following changes were made to always print in microseconds, fixed format:
#
# - explicit Duration(double inNanoseconds, Unit units = Unit::Auto)
# + explicit Duration(double inNanoseconds, Unit units = Unit::Microseconds)
#
# - return os << duration.value() << ' ' << duration.unitsAsString();
# + return os << std::fixed << duration.value() << ' ' << duration.unitsAsString();
add_library(catch2 INTERFACE)
target_include_directories(catch2 INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})