mirror of
https://github.com/gunchev/bench.git
synced 2026-02-19 18:23:30 +00:00
Add CMake workflow
This commit is contained in:
parent
6526f7ae04
commit
8c1d14093d
2 changed files with 78 additions and 3 deletions
|
|
@ -50,8 +50,8 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|||
|
||||
|
||||
# Compiler/linker flags
|
||||
set(CMAKE_C_FLAGS "-Wall -Wextra -Werror")
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror")
|
||||
set(CMAKE_C_FLAGS "-Wall -Wextra") # -Werror")
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra") # -Werror")
|
||||
|
||||
# https://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.html#Template-Instantiation
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ if (NOT benchmark_FOUND)
|
|||
FetchContent_Declare(
|
||||
benchmark
|
||||
GIT_REPOSITORY https://github.com/google/benchmark.git
|
||||
GIT_TAG v1.9.4
|
||||
GIT_TAG v1.9.5
|
||||
)
|
||||
|
||||
# Disable benchmark's own tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue