Initial work on benchmarks of other logging systems.

This commit is contained in:
Kevin M. Godby
2016-05-04 22:46:30 -05:00
parent 846fdf9f5c
commit 2132fe0ec5
11 changed files with 123 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ add_library(spdlog INTERFACE)
option(SPDLOG_BUILD_EXAMPLES "Build examples" OFF)
option(SPDLOG_BUILD_TESTS "Build tests" OFF)
option(SPDLOG_BUILD_BENCHMARKS "Build comparison benchmarks for various logging libraries" OFF)
target_include_directories(
spdlog
@@ -32,6 +33,11 @@ if(SPDLOG_BUILD_TESTS)
add_subdirectory(tests)
endif()
if(SPDLOG_BUILD_BENCHMARKS)
add_subdirectory(vendor)
add_subdirectory(bench)
endif()
### Install ###
# * https://github.com/forexample/package-example
set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")