2020-05-18 09:19:50 +08:00
|
|
|
if (USE_CLANG_TIDY)
|
|
|
|
set (CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
|
|
|
|
endif ()
|
|
|
|
|
2020-12-11 02:34:48 +08:00
|
|
|
if(MAKE_STATIC_LIBRARIES)
|
|
|
|
set(MAX_LINKER_MEMORY 3500)
|
|
|
|
else()
|
|
|
|
set(MAX_LINKER_MEMORY 2500)
|
|
|
|
endif()
|
|
|
|
include(../cmake/limit_jobs.cmake)
|
|
|
|
|
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)
|
2020-12-04 10:15:44 +08:00
|
|
|
add_subdirectory (syntax-analyzer)
|
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)
|
2020-11-10 02:16:02 +08:00
|
|
|
add_subdirectory (zookeeper-test)
|
2018-08-24 00:06:13 +08:00
|
|
|
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-09-04 18:39:17 +08:00
|
|
|
add_subdirectory (db-generator)
|
2020-08-12 13:50:22 +08:00
|
|
|
add_subdirectory (wal-dump)
|
2020-10-21 20:17:37 +08:00
|
|
|
add_subdirectory (check-mysql-binlog)
|
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)
|