ClickHouse/utils/CMakeLists.txt

48 lines
1.4 KiB
CMake
Raw Normal View History

if (USE_CLANG_TIDY)
set (CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
endif ()
if(USE_STATIC_LIBRARIES)
2020-12-10 18:34:48 +00:00
set(MAX_LINKER_MEMORY 3500)
else()
set(MAX_LINKER_MEMORY 2500)
endif()
include(../cmake/limit_jobs.cmake)
2018-08-23 16:06:13 +00:00
# Utils used in package
2016-02-07 21:58:58 +00:00
add_subdirectory (config-processor)
add_subdirectory (report)
2018-08-23 16:06:13 +00:00
# Not used in package
if (NOT DEFINED ENABLE_UTILS OR ENABLE_UTILS)
add_subdirectory (compressor)
add_subdirectory (iotest)
add_subdirectory (corrector_utf8)
add_subdirectory (zookeeper-cli)
2020-11-09 18:16:02 +00:00
add_subdirectory (zookeeper-test)
2018-08-23 16:06:13 +00:00
add_subdirectory (zookeeper-dump-tree)
add_subdirectory (zookeeper-remove-by-list)
add_subdirectory (zookeeper-create-entry-to-download-part)
add_subdirectory (zookeeper-adjust-block-numbers-to-parts)
2018-08-23 16:06:13 +00:00
add_subdirectory (wikistat-loader)
add_subdirectory (check-marks)
add_subdirectory (checksum-for-compressed-block)
add_subdirectory (db-generator)
add_subdirectory (wal-dump)
2020-10-21 12:17:37 +00:00
add_subdirectory (check-mysql-binlog)
2021-04-12 15:40:42 +00:00
add_subdirectory (keeper-bench)
add_subdirectory (graphite-rollup)
add_subdirectory (self-extracting-executable)
2021-03-23 15:35:13 +00:00
2022-01-17 18:45:54 +00:00
if (TARGET ch_contrib::nuraft)
add_subdirectory (keeper-data-dumper)
endif ()
# memcpy_jart.S contains position dependent code
2021-10-11 22:47:34 +00:00
if (NOT CMAKE_POSITION_INDEPENDENT_CODE AND OS_LINUX AND ARCH_AMD64)
2021-03-23 17:02:16 +00:00
add_subdirectory (memcpy-bench)
2021-03-23 15:35:13 +00:00
endif ()
2018-08-23 16:06:13 +00:00
endif ()
add_subdirectory (package)