ClickHouse/libs/CMakeLists.txt

27 lines
695 B
CMake
Raw Normal View History

if (NOT NO_WERROR)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
endif ()
if (USE_DEBUG_HELPERS)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/libcommon/include/common/iostream_debug_helpers.h")
endif ()
2016-02-07 21:58:58 +00:00
add_subdirectory (libcommon)
add_subdirectory (libloggers)
2016-02-07 21:58:58 +00:00
add_subdirectory (libdaemon)
if (USE_INTERNAL_MEMCPY)
add_subdirectory (libmemcpy)
endif()
if (USE_MYSQL)
add_subdirectory (libmysqlxx)
endif ()
if (USE_INTERNAL_CONSISTENT_HASHING_LIBRARY)
add_subdirectory (consistent-hashing)
endif ()
2018-08-30 18:44:46 +00:00
add_subdirectory (consistent-hashing-sumbur)
add_subdirectory (libwidechar_width)