Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
b1f34d38
Commit
b1f34d38
authored
Mar 06, 2015
by
Eric Fiselier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address comments
parent
5b41e128
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
CMakeLists.txt
src/CMakeLists.txt
+2
-3
CMakeLists.txt
test/CMakeLists.txt
+0
-5
No files found.
src/CMakeLists.txt
View file @
b1f34d38
...
@@ -2,9 +2,8 @@
...
@@ -2,9 +2,8 @@
include_directories
(
${
PROJECT_SOURCE_DIR
}
/src
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/src
)
# Define the source files
# Define the source files
set
(
SOURCE_FILES
"benchmark.cc"
"commandlineflags.cc"
set
(
SOURCE_FILES
"benchmark.cc"
"colorprint.cc"
"commandlineflags.cc"
"colorprint.cc"
"sleep.cc"
"sleep.cc"
"sysinfo.cc"
"walltime.cc"
)
"sysinfo.cc"
"walltime.cc"
)
# Determine the correct regular expression engine to use
# Determine the correct regular expression engine to use
if
(
HAVE_STD_REGEX
)
if
(
HAVE_STD_REGEX
)
set
(
RE_FILES
"re_std.cc"
)
set
(
RE_FILES
"re_std.cc"
)
...
...
test/CMakeLists.txt
View file @
b1f34d38
...
@@ -23,11 +23,6 @@ macro(compile_benchmark_test name)
...
@@ -23,11 +23,6 @@ macro(compile_benchmark_test name)
add_dependencies
(
${
name
}
googletest
)
add_dependencies
(
${
name
}
googletest
)
endmacro
(
compile_benchmark_test
)
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
)
macro
(
add_gtest_test name
)
add_executable
(
${
name
}
"
${
name
}
.cc"
)
add_executable
(
${
name
}
"
${
name
}
.cc"
)
target_link_libraries
(
${
name
}
benchmark gtest gtest_main
${
CMAKE_THREAD_LIBS_INIT
}
)
target_link_libraries
(
${
name
}
benchmark gtest gtest_main
${
CMAKE_THREAD_LIBS_INIT
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment