CMakeLists.txt comments

This commit is contained in:
Matt Clarkson 2014-07-31 15:19:54 +01:00
parent 1c82191d7a
commit fac16a662e
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@ project (benchmark)
# Make sure we can import out CMake functions
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# We need threads in this project
# Resolve dependent packages
find_package(Threads REQUIRED)
# Import and build Google Test

View File

@ -1,12 +1,15 @@
# Define the source files
set(SOURCE_FILES "benchmark.cc" "colorprint.cc" "commandlineflags.cc" "sleep.cc" "sysinfo.cc" "walltime.cc")
set(RE_FILES "re.cc")
# Build a regular expression library
add_library(benchmark_re ${RE_FILES})
set_target_properties(benchmark_re PROPERTIES
VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION}
)
# Build the benchmark library
add_library(benchmark ${SOURCE_FILES} ${RE_FILES})
set_target_properties(benchmark PROPERTIES
VERSION ${GENERIC_LIB_VERSION}