2019-01-25 11:03:02 +00:00
|
|
|
add_library (clickhouse-performance-test-lib ${LINK_MODE}
|
|
|
|
JSONString.cpp
|
|
|
|
StopConditionsSet.cpp
|
|
|
|
TestStopConditions.cpp
|
|
|
|
TestStats.cpp
|
2019-01-25 18:35:16 +00:00
|
|
|
ConfigPreprocessor.cpp
|
2019-01-25 11:03:02 +00:00
|
|
|
PerformanceTest.cpp
|
2019-01-25 18:35:16 +00:00
|
|
|
PerformanceTestInfo.cpp
|
|
|
|
executeQuery.cpp
|
|
|
|
applySubstitutions.cpp
|
|
|
|
ReportBuilder.cpp
|
|
|
|
PerformanceTestSuite.cpp
|
2019-01-25 11:03:02 +00:00
|
|
|
)
|
2018-11-28 14:41:51 +00:00
|
|
|
target_link_libraries (clickhouse-performance-test-lib PRIVATE dbms clickhouse_common_io clickhouse_common_config ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
2018-06-06 20:21:58 +00:00
|
|
|
target_include_directories (clickhouse-performance-test-lib SYSTEM PRIVATE ${PCG_RANDOM_INCLUDE_DIR})
|
2018-06-05 20:09:51 +00:00
|
|
|
|
|
|
|
if (CLICKHOUSE_SPLIT_BINARY)
|
|
|
|
add_executable (clickhouse-performance-test clickhouse-performance-test.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (clickhouse-performance-test PRIVATE clickhouse-performance-test-lib)
|
2019-01-28 16:36:39 +00:00
|
|
|
install (TARGETS clickhouse-performance-test ${CLICKHOUSE_ALL_TARGETS} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse)
|
2018-06-05 20:09:51 +00:00
|
|
|
endif ()
|