mirror of https://github.com/google/benchmark.git
address comments
This commit is contained in:
parent
5b41e128b3
commit
b1f34d3880
|
@ -2,9 +2,8 @@
|
|||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||
|
||||
# Define the source files
|
||||
set(SOURCE_FILES "benchmark.cc" "commandlineflags.cc"
|
||||
"colorprint.cc" "sleep.cc"
|
||||
"sysinfo.cc" "walltime.cc")
|
||||
set(SOURCE_FILES "benchmark.cc" "colorprint.cc" "commandlineflags.cc"
|
||||
"sleep.cc" "sysinfo.cc" "walltime.cc")
|
||||
# Determine the correct regular expression engine to use
|
||||
if(HAVE_STD_REGEX)
|
||||
set(RE_FILES "re_std.cc")
|
||||
|
|
|
@ -23,11 +23,6 @@ macro(compile_benchmark_test name)
|
|||
add_dependencies(${name} googletest)
|
||||
endmacro(compile_benchmark_test)
|
||||
|
||||
macro (add_benchmark_test name)
|
||||
compile_benchmark_test(${name})
|
||||
add_test(${name} ${name} --benchmarks=all)
|
||||
endmacro(add_benchmark_test)
|
||||
|
||||
macro(add_gtest_test name)
|
||||
add_executable(${name} "${name}.cc")
|
||||
target_link_libraries(${name} benchmark gtest gtest_main ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
|
Loading…
Reference in New Issue