From b1f34d38800a21136aa2d7a5d5604d66d96e7823 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 6 Mar 2015 13:20:47 -0500 Subject: [PATCH] address comments --- src/CMakeLists.txt | 5 ++--- test/CMakeLists.txt | 5 ----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ce418f87..a5dc5978 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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") diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9238b258..e7ec9dd0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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})