2020-05-18 01:19:50 +00:00
|
|
|
if (USE_CLANG_TIDY)
|
|
|
|
set (CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
|
|
|
|
endif ()
|
|
|
|
|
2022-01-24 11:32:17 +00:00
|
|
|
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)
|
|
|
|
|
2022-07-07 00:40:41 +00:00
|
|
|
if (ENABLE_CLICKHOUSE_SELF_EXTRACTING)
|
|
|
|
add_subdirectory (self-extracting-executable)
|
|
|
|
endif ()
|
|
|
|
|
2018-08-23 16:06:13 +00:00
|
|
|
# Utils used in package
|
2016-02-07 21:58:58 +00:00
|
|
|
add_subdirectory (config-processor)
|
2018-03-28 02:32:54 +00:00
|
|
|
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 (corrector_utf8)
|
|
|
|
add_subdirectory (zookeeper-cli)
|
|
|
|
add_subdirectory (zookeeper-dump-tree)
|
|
|
|
add_subdirectory (zookeeper-remove-by-list)
|
|
|
|
add_subdirectory (wikistat-loader)
|
|
|
|
add_subdirectory (check-marks)
|
2019-05-18 22:48:28 +00:00
|
|
|
add_subdirectory (checksum-for-compressed-block)
|
2020-08-12 05:50:22 +00:00
|
|
|
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)
|
2021-03-23 15:35:13 +00:00
|
|
|
|
2022-01-17 18:45:54 +00:00
|
|
|
if (TARGET ch_contrib::nuraft)
|
2021-03-30 10:37:55 +00:00
|
|
|
add_subdirectory (keeper-data-dumper)
|
|
|
|
endif ()
|
|
|
|
|
2021-04-08 21:16:41 +00:00
|
|
|
# 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 ()
|