benchmark/cmake
Roman Lebedev 4b77194032
CMake: codedrop of googletest cmake magic from me (#809)
https://github.com/google/benchmark/pull/801 is stuck with some cryptic cmake failure due to
some linking issue between googletest and threading libraries.

I suspect that is mostly happening because of the, uhm,
intentionally extremely twisted-in-the-brains approach that is being used to
actually build the library as part of the buiild,
except without actually building it as part of the build.

If we do actually build it as part of the build,
then all the transitive dependencies should magically be in order,
and maybe everything will just work.

This new version of cmake magic was written by me in
0e22f085c5/cmake/Modules/GoogleTest.cmake.in
0e22f085c5/cmake/Modules/GoogleTest.cmake, based on the official googletest docs and LOTS of experimentation.
2019-04-30 13:36:29 +03:00
..
Modules CMake: implement LTO for clang. Fixes #478 (#487) 2017-11-29 12:48:43 -08:00
AddCXXCompilerFlag.cmake Improve State packing: put important members on first cache line. (#527) 2018-02-14 13:44:41 -07:00
benchmark.pc.in Add -lpthread to pkg-config Libs.private. (#755) 2019-02-01 15:51:44 +03:00
Config.cmake.in Add CMake Package Config files during install 2017-04-03 01:54:24 +02:00
CXXFeatureCheck.cmake Ensure all informational cmake messages have STATUS type 2018-11-13 09:56:22 +00:00
GetGitVersion.cmake Ensure all informational cmake messages have STATUS type 2018-11-13 09:56:22 +00:00
gnu_posix_regex.cpp Fix #50 by using nullptr and adding stricter warning. 2014-10-11 15:52:50 -07:00
GoogleTest.cmake CMake: codedrop of googletest cmake magic from me (#809) 2019-04-30 13:36:29 +03:00
GoogleTest.cmake.in CMake: codedrop of googletest cmake magic from me (#809) 2019-04-30 13:36:29 +03: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
split_list.cmake split_list is not defined for assembly tests (#595) 2018-05-14 15:02:49 +01: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