2017-11-27 20:39:06 +00:00
|
|
|
find_package (Threads)
|
2017-01-16 19:47:11 +00:00
|
|
|
|
2018-01-09 20:20:13 +00:00
|
|
|
add_executable (util-clickhouse-compressor main.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (util-clickhouse-compressor PRIVATE clickhouse-compressor-lib)
|
2018-01-09 20:20:13 +00:00
|
|
|
set_target_properties(util-clickhouse-compressor PROPERTIES OUTPUT_NAME "clickhouse-compressor")
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2018-01-09 20:20:13 +00:00
|
|
|
#install (TARGETS util-clickhouse-compressor RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse-compressor)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2016-04-26 21:40:43 +00:00
|
|
|
add_executable (zstd_test zstd_test.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (zstd_test PRIVATE ${ZSTD_LIBRARY} common Threads::Threads)
|
2018-01-14 23:54:23 +00:00
|
|
|
|
|
|
|
add_executable (mutator mutator.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries(mutator PRIVATE clickhouse_common_io)
|
2018-01-14 23:54:23 +00:00
|
|
|
|
|
|
|
add_executable (decompress_perf decompress_perf.cpp)
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries(decompress_perf PRIVATE clickhouse_common_io clickhouse_compression ${LZ4_LIBRARY})
|
2018-02-12 17:05:48 +00:00
|
|
|
|
2018-01-18 20:33:16 +00:00
|
|
|
if (NOT USE_INTERNAL_ZSTD_LIBRARY)
|
|
|
|
target_include_directories (zstd_test BEFORE PRIVATE ${ZSTD_INCLUDE_DIR})
|
|
|
|
endif ()
|