mirror of
https://github.com/google/benchmark.git
synced 2024-12-27 13:00:36 +08:00
7db02be244
* Add support for GTest based unit tests. As Dominic and I have previously discussed, there is some need/desire to improve the testing situation in Google Benchmark. One step to fixing this problem is to make it easier to write unit tests by adding support for GTest, which is what this patch does. By default it looks for an installed version of GTest. However the user can specify -DBENCHMARK_BUILD_EXTERNAL_GTEST=ON to instead download, build, and use copy of gtest from source. This is quite useful when Benchmark is being built in non-standard configurations, such as against libc++ or in 32 bit mode. |
||
---|---|---|
.. | ||
Modules | ||
AddCXXCompilerFlag.cmake | ||
benchmark.pc.in | ||
Config.cmake.in | ||
CXXFeatureCheck.cmake | ||
GetGitVersion.cmake | ||
gnu_posix_regex.cpp | ||
HandleGTest.cmake | ||
llvm-toolchain.cmake | ||
posix_regex.cpp | ||
std_regex.cpp | ||
steady_clock.cpp | ||
thread_safety_attributes.cpp |