ClickHouse/dbms/programs/performance-test/CMakeLists.txt

9 lines
509 B
CMake
Raw Normal View History

add_library (clickhouse-performance-test-lib ${LINK_MODE} PerformanceTest.cpp)
2018-06-05 20:09:51 +00:00
target_link_libraries (clickhouse-performance-test-lib clickhouse_common_io dbms ${Boost_PROGRAM_OPTIONS_LIBRARY})
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)
target_link_libraries (clickhouse-performance-test clickhouse-performance-test-lib dbms)
endif ()