Changed: #842 Added three more services: MOS, RBS, PDSS.

This commit is contained in:
Matt Raykowski 2010-06-18 15:35:25 -05:00
parent ce1bcbaf27
commit 96f88d8a8d
4 changed files with 70 additions and 4 deletions

View file

@ -20,6 +20,9 @@ ADD_SUBDIRECTORY(log_analyser_service)
ADD_SUBDIRECTORY(logger_service) ADD_SUBDIRECTORY(logger_service)
ADD_SUBDIRECTORY(mail_forum_service) ADD_SUBDIRECTORY(mail_forum_service)
ADD_SUBDIRECTORY(mirror_service) ADD_SUBDIRECTORY(mirror_service)
ADD_SUBDIRECTORY(monitor_service)
ADD_SUBDIRECTORY(pd_reference_builder)
ADD_SUBDIRECTORY(pd_support_service)
# Deprecated, no longer used. # Deprecated, no longer used.
#ADD_SUBDIRECTORY(ags_test) #ADD_SUBDIRECTORY(ags_test)
@ -28,10 +31,6 @@ ADD_SUBDIRECTORY(mirror_service)
#ADD_SUBDIRECTORY(general_utilities_service) #ADD_SUBDIRECTORY(general_utilities_service)
#ADD_SUBDIRECTORY(patchman_service) #ADD_SUBDIRECTORY(patchman_service)
#mirror_service
#monitor_service
#pd_reference_builder
#pd_support_service
#persistant_data_service #persistant_data_service
#sabrina #sabrina
#server_share #server_share

View file

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

View file

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

View file

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