]> git.lizzy.rs Git - dragonfireclient.git/blob - lib/catch2/CMakeLists.txt
Add benchmarks for json string serialize/deserialize (#12258)
[dragonfireclient.git] / lib / catch2 / CMakeLists.txt
1 # catch2 is distributed as a standalone header.
2 #
3 # Downloaded from:
4 #
5 #      https://github.com/catchorg/Catch2/releases/download/v2.13.9/catch.hpp
6 #
7 # The following changes were made to always print in microseconds, fixed format:
8 #
9 # -    explicit Duration(double inNanoseconds, Unit units = Unit::Auto)
10 # +    explicit Duration(double inNanoseconds, Unit units = Unit::Microseconds)
11 #
12 # -        return os << duration.value() << ' ' << duration.unitsAsString();
13 # +        return os << std::fixed << duration.value() << ' ' << duration.unitsAsString();
14
15 add_library(catch2 INTERFACE)
16 target_include_directories(catch2 INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})