Commit fac16a66 by Matt Clarkson

CMakeLists.txt comments

parent 1c82191d
...@@ -4,7 +4,7 @@ project (benchmark) ...@@ -4,7 +4,7 @@ project (benchmark)
# Make sure we can import out CMake functions # Make sure we can import out CMake functions
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# We need threads in this project # Resolve dependent packages
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
# Import and build Google Test # Import and build Google Test
......
# Define the source files
set(SOURCE_FILES "benchmark.cc" "colorprint.cc" "commandlineflags.cc" "sleep.cc" "sysinfo.cc" "walltime.cc") set(SOURCE_FILES "benchmark.cc" "colorprint.cc" "commandlineflags.cc" "sleep.cc" "sysinfo.cc" "walltime.cc")
set(RE_FILES "re.cc") set(RE_FILES "re.cc")
# Build a regular expression library
add_library(benchmark_re ${RE_FILES}) add_library(benchmark_re ${RE_FILES})
set_target_properties(benchmark_re PROPERTIES set_target_properties(benchmark_re PROPERTIES
VERSION ${GENERIC_LIB_VERSION} VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION} SOVERSION ${GENERIC_LIB_SOVERSION}
) )
# Build the benchmark library
add_library(benchmark ${SOURCE_FILES} ${RE_FILES}) add_library(benchmark ${SOURCE_FILES} ${RE_FILES})
set_target_properties(benchmark PROPERTIES set_target_properties(benchmark PROPERTIES
VERSION ${GENERIC_LIB_VERSION} VERSION ${GENERIC_LIB_VERSION}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment