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)
|
|
|
|
add_subdirectory (libpocoext)
|
|
|
|
add_subdirectory (libdaemon)
|
2017-09-15 05:27:09 +00:00
|
|
|
|
|
|
|
if (USE_INTERNAL_MEMCPY)
|
|
|
|
add_subdirectory (libmemcpy)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (GLIBC_COMPATIBILITY)
|
|
|
|
add_subdirectory (libglibc-compatibility)
|
|
|
|
endif ()
|
2017-04-19 00:25:57 +00:00
|
|
|
|
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-02-27 00:01:51 +00:00
|
|
|
add_subdirectory (libconsistent-hashing)
|