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 ()
|
|
|
|
|
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 ()
|