benchmark/cmake
Roman Lebedev 17bc235ab3
Output library / schema versions in JSON context block (#1742)
* CMake: `get_git_version()`: just use `--dirty` flag of `git describe`

* CMake: move version normalization out of `get_git_version()`

Mainly, i want `get_git_version()` to return true version,
not something sanitized.

* JSON reporter: store library version and schema version in `context`

* Tools: discard inputs with unexpected `json_schema_version`

* Extract version string into `GetBenchmarkVersiom()`

---------

Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
2024-01-29 13:15:43 +00:00
..
Modules missing cmake include 2023-07-10 17:58:01 +01:00
AddCXXCompilerFlag.cmake fix cmake issue with referencing a non-existing function argument (#1118) 2021-04-26 09:15:07 +01:00
CXXFeatureCheck.cmake Try removing attempt to set the C++ standard (#1464) 2022-12-10 19:42:44 -04:00
Config.cmake.in cmake: allow to use package config from build directory 2021-10-19 11:11:11 +02:00
GetGitVersion.cmake Output library / schema versions in JSON context block (#1742) 2024-01-29 13:15:43 +00:00
GoogleTest.cmake Fix passing non-const lvalue refs to DoNotOptimize (#1622) 2023-07-05 18:05:08 +01:00
GoogleTest.cmake.in update googletest to latest release tag 1.11.0 (#1301) 2021-12-08 16:30:03 +00:00
benchmark.pc.in use CMAKE_INSTALL_FULL in pkg-config file (#1473) 2022-08-23 23:28:02 +03:00
gnu_posix_regex.cpp Fix #50 by using nullptr and adding stricter warning. 2014-10-11 15:52:50 -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
pthread_affinity.cpp Fix CPU frequency estimation on riscv (#1549) 2023-02-21 11:30:28 +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