cloudflare/ClickHouse
Publicmirrored fromhttps://github.com/cloudflare/ClickHouse
libs/CMakeLists.txt
30lines · modecode
Use logging in clickhouse-local. Use config options in command line in clickhouse-client (#5540)09f3d68
6 years ago
| 1 | if (NOT NO_WERROR) |
| 2 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") |
| 3 | set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") |
| 4 | endif () |
| 5 | |
| 6 | if (USE_DEBUG_HELPERS) |
| 7 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/libcommon/include/common/iostream_debug_helpers.h") |
| 8 | endif () |
| 9 | |
| 10 | add_subdirectory (libcommon) |
| 11 | add_subdirectory (libloggers) |
| 12 | add_subdirectory (libdaemon) |
| 13 | |
| 14 | if (USE_INTERNAL_MEMCPY) |
| 15 | add_subdirectory (libmemcpy) |
| 16 | endif() |
| 17 | |
| 18 | if (GLIBC_COMPATIBILITY) |
| 19 | add_subdirectory (libglibc-compatibility) |
| 20 | endif () |
| 21 | |
| 22 | if (USE_MYSQL) |
| 23 | add_subdirectory (libmysqlxx) |
| 24 | endif () |
| 25 | |
| 26 | if (USE_INTERNAL_CONSISTENT_HASHING_LIBRARY) |
| 27 | add_subdirectory (consistent-hashing) |
| 28 | endif () |
| 29 | add_subdirectory (consistent-hashing-sumbur) |
| 30 | add_subdirectory (libwidechar_width) |