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-08-29 00:03:07 +00:00
|
|
|
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)
|
2019-06-14 14:00:37 +00:00
|
|
|
add_subdirectory (libloggers)
|
2016-02-07 21:58:58 +00:00
|
|
|
add_subdirectory (libdaemon)
|
2017-09-15 05:27:09 +00:00
|
|
|
|
|
|
|
if (USE_INTERNAL_MEMCPY)
|
|
|
|
add_subdirectory (libmemcpy)
|
|
|
|
endif()
|
|
|
|
|
2017-08-31 17:11:30 +00:00
|
|
|
if (USE_MYSQL)
|
2017-04-19 00:25:57 +00:00
|
|
|
add_subdirectory (libmysqlxx)
|
|
|
|
endif ()
|
2018-02-23 21:22:52 +00:00
|
|
|
|
2018-08-30 19:07:24 +00:00
|
|
|
if (USE_INTERNAL_CONSISTENT_HASHING_LIBRARY)
|
|
|
|
add_subdirectory (consistent-hashing)
|
|
|
|
endif ()
|
2018-08-30 18:44:46 +00:00
|
|
|
add_subdirectory (consistent-hashing-sumbur)
|
2018-09-29 14:14:29 +00:00
|
|
|
add_subdirectory (libwidechar_width)
|