From 96f88d8a8d7d5d4ab5460be00addcf2867c415b9 Mon Sep 17 00:00:00 2001 From: Matt Raykowski Date: Fri, 18 Jun 2010 15:35:25 -0500 Subject: [PATCH] Changed: #842 Added three more services: MOS, RBS, PDSS. --- code/ryzom/server/src/CMakeLists.txt | 7 +++--- .../server/src/monitor_service/CMakeLists.txt | 23 +++++++++++++++++++ .../src/pd_reference_builder/CMakeLists.txt | 22 ++++++++++++++++++ .../src/pd_support_service/CMakeLists.txt | 22 ++++++++++++++++++ 4 files changed, 70 insertions(+), 4 deletions(-) create mode 100644 code/ryzom/server/src/monitor_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/pd_reference_builder/CMakeLists.txt create mode 100644 code/ryzom/server/src/pd_support_service/CMakeLists.txt diff --git a/code/ryzom/server/src/CMakeLists.txt b/code/ryzom/server/src/CMakeLists.txt index 8c5bf74e0..318de3ac4 100644 --- a/code/ryzom/server/src/CMakeLists.txt +++ b/code/ryzom/server/src/CMakeLists.txt @@ -20,6 +20,9 @@ ADD_SUBDIRECTORY(log_analyser_service) ADD_SUBDIRECTORY(logger_service) ADD_SUBDIRECTORY(mail_forum_service) ADD_SUBDIRECTORY(mirror_service) +ADD_SUBDIRECTORY(monitor_service) +ADD_SUBDIRECTORY(pd_reference_builder) +ADD_SUBDIRECTORY(pd_support_service) # Deprecated, no longer used. #ADD_SUBDIRECTORY(ags_test) @@ -28,10 +31,6 @@ ADD_SUBDIRECTORY(mirror_service) #ADD_SUBDIRECTORY(general_utilities_service) #ADD_SUBDIRECTORY(patchman_service) -#mirror_service -#monitor_service -#pd_reference_builder -#pd_support_service #persistant_data_service #sabrina #server_share diff --git a/code/ryzom/server/src/monitor_service/CMakeLists.txt b/code/ryzom/server/src/monitor_service/CMakeLists.txt new file mode 100644 index 000000000..ba68d184e --- /dev/null +++ b/code/ryzom/server/src/monitor_service/CMakeLists.txt @@ -0,0 +1,23 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(monitor_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(monitor_service ryzom_gameshare + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${ZLIB_LIBRARY} + ${MYSQL_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY} + ${NELGEORGES_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(monitor_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Monitor Service (MOS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS monitor_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/pd_reference_builder/CMakeLists.txt b/code/ryzom/server/src/pd_reference_builder/CMakeLists.txt new file mode 100644 index 000000000..b8a2c3e81 --- /dev/null +++ b/code/ryzom/server/src/pd_reference_builder/CMakeLists.txt @@ -0,0 +1,22 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(reference_builder_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(reference_builder_service ryzom_gameshare + pd_lib + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY} + ${NELGEORGES_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(pd_reference_builder PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Reference Builder Service (RBS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS reference_builder_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/pd_support_service/CMakeLists.txt b/code/ryzom/server/src/pd_support_service/CMakeLists.txt new file mode 100644 index 000000000..c70b0046f --- /dev/null +++ b/code/ryzom/server/src/pd_support_service/CMakeLists.txt @@ -0,0 +1,22 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(pd_support_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(pd_support_service admin_modules + ryzom_gameshare + server_share + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(ryzom_welcome_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: PD Support Service (PDSS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS pd_support_service RUNTIME DESTINATION sbin COMPONENT services) + +