2020-05-18 09:19:50 +08:00
|
|
|
if (USE_CLANG_TIDY)
|
|
|
|
set (CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
|
|
|
|
endif ()
|
|
|
|
|
2019-01-11 20:40:19 +08:00
|
|
|
if(MAKE_STATIC_LIBRARIES)
|
|
|
|
set(MAX_LINKER_MEMORY 3500)
|
2018-12-27 23:23:37 +08:00
|
|
|
else()
|
2019-01-11 20:40:19 +08:00
|
|
|
set(MAX_LINKER_MEMORY 2500)
|
|
|
|
endif()
|
|
|
|
include(../cmake/limit_jobs.cmake)
|
2018-12-27 23:23:37 +08:00
|
|
|
|
2018-08-24 00:06:13 +08:00
|
|
|
# Utils used in package
|
2016-02-08 05:58:58 +08:00
|
|
|
add_subdirectory (config-processor)
|
2018-03-28 10:32:54 +08:00
|
|
|
add_subdirectory (report)
|
2018-08-24 00:06:13 +08: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)
|
|
|
|
add_subdirectory (zookeeper-dump-tree)
|
|
|
|
add_subdirectory (zookeeper-remove-by-list)
|
|
|
|
add_subdirectory (zookeeper-create-entry-to-download-part)
|
2019-07-19 08:39:22 +08:00
|
|
|
add_subdirectory (zookeeper-adjust-block-numbers-to-parts)
|
2018-08-24 00:06:13 +08:00
|
|
|
add_subdirectory (wikistat-loader)
|
|
|
|
add_subdirectory (check-marks)
|
|
|
|
add_subdirectory (test-data-generator)
|
2019-01-25 23:17:12 +08:00
|
|
|
add_subdirectory (convert-month-partitioned-parts)
|
2019-05-19 06:48:28 +08:00
|
|
|
add_subdirectory (checksum-for-compressed-block)
|
2020-08-12 13:50:22 +08:00
|
|
|
add_subdirectory (wal-dump)
|
2018-08-24 00:06:13 +08:00
|
|
|
endif ()
|
2018-08-30 03:43:58 +08:00
|
|
|
|
|
|
|
if (ENABLE_CODE_QUALITY)
|
|
|
|
add_subdirectory (check-style)
|
|
|
|
endif ()
|
2019-06-28 11:30:35 +08:00
|
|
|
|
|
|
|
add_subdirectory (package)
|