2019-03-04 17:47:31 +00:00
|
|
|
set(CLICKHOUSE_BENCHMARK_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Benchmark.cpp)
|
2019-07-03 16:53:20 +00:00
|
|
|
set(CLICKHOUSE_BENCHMARK_LINK PRIVATE dbms clickhouse_aggregate_functions clickhouse_common_config ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
2019-03-04 17:47:31 +00:00
|
|
|
set(CLICKHOUSE_BENCHMARK_INCLUDE SYSTEM PRIVATE ${PCG_RANDOM_INCLUDE_DIR})
|
2018-06-05 20:09:51 +00:00
|
|
|
|
2019-03-04 17:47:31 +00:00
|
|
|
clickhouse_program_add(benchmark)
|
|
|
|
|
|
|
|
if(NOT CLICKHOUSE_ONE_SHARED)
|
|
|
|
target_link_libraries (clickhouse-benchmark-lib PRIVATE clickhouse-client-lib)
|
|
|
|
endif()
|