mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
e30d93a0f2
* Better debug helpers * fix
27 lines
639 B
CMake
27 lines
639 B
CMake
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 ()
|
|
|
|
add_subdirectory (libcommon)
|
|
add_subdirectory (libpocoext)
|
|
add_subdirectory (libdaemon)
|
|
|
|
if (USE_INTERNAL_MEMCPY)
|
|
add_subdirectory (libmemcpy)
|
|
endif()
|
|
|
|
if (GLIBC_COMPATIBILITY)
|
|
add_subdirectory (libglibc-compatibility)
|
|
endif ()
|
|
|
|
if (USE_MYSQL)
|
|
add_subdirectory (libmysqlxx)
|
|
endif ()
|
|
|
|
add_subdirectory (libconsistent-hashing)
|