2017-01-19 19:30:58 +00:00
|
|
|
if (NOT NO_WERROR)
|
2017-04-01 07:20:54 +00:00
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
|
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
2017-01-19 19:30:58 +00:00
|
|
|
endif ()
|
|
|
|
|
2018-12-27 15:23:37 +00:00
|
|
|
if (MAKE_STATIC_LIBRARIES)
|
|
|
|
set (MAX_LINKER_MEMORY 3500 CACHE INTERNAL "")
|
|
|
|
else()
|
|
|
|
set (MAX_LINKER_MEMORY 2500 CACHE INTERNAL "")
|
|
|
|
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)
|
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 (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)
|
|
|
|
add_subdirectory (wikistat-loader)
|
|
|
|
add_subdirectory (fill-factor)
|
|
|
|
add_subdirectory (check-marks)
|
|
|
|
add_subdirectory (test-data-generator)
|
|
|
|
endif ()
|
2018-08-29 19:43:58 +00:00
|
|
|
|
|
|
|
if (ENABLE_CODE_QUALITY)
|
|
|
|
add_subdirectory (check-style)
|
|
|
|
endif ()
|