benchmark/cmake
Eric 7db02be244
Add support for GTest based unit tests. (#485)
* 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.
2017-12-13 16:26:47 -07:00
..
Modules CMake: implement LTO for clang. Fixes #478 (#487) 2017-11-29 12:48:43 -08:00
AddCXXCompilerFlag.cmake Attempting to resolve a submoduling issues... (#439) 2017-08-28 16:10:19 -07:00
benchmark.pc.in Add a pkg-config file, for the benefit of projects not using CMake. (#480) 2017-11-15 11:51:22 -08:00
Config.cmake.in Add CMake Package Config files during install 2017-04-03 01:54:24 +02:00
CXXFeatureCheck.cmake Attempting to resolve a submoduling issues... (#439) 2017-08-28 16:10:19 -07:00
GetGitVersion.cmake Fix get_git_version to use GIT_EXECUTABLE. 2015-10-18 02:13:37 +02:00
gnu_posix_regex.cpp Fix #50 by using nullptr and adding stricter warning. 2014-10-11 15:52:50 -07:00
HandleGTest.cmake Add support for GTest based unit tests. (#485) 2017-12-13 16:26:47 -07:00
llvm-toolchain.cmake CMake: implement LTO for clang. Fixes #478 (#487) 2017-11-29 12:48:43 -08:00
posix_regex.cpp Close a memory leak in configuration code 2016-02-09 13:08:56 +00:00
std_regex.cpp Change std::regex detection test to detect bug in libstdc++. 2015-03-06 12:05:19 -05:00
steady_clock.cpp address review comments 2015-03-26 18:32:31 -04:00
thread_safety_attributes.cpp Adopt new benchmark timing internals. 2015-03-12 18:03:33 -04:00