From ce1bcbaf277b41bfa80d4ede924397448a638ab7 Mon Sep 17 00:00:00 2001 From: Matt Raykowski Date: Fri, 18 Jun 2010 13:45:22 -0500 Subject: [PATCH] Changed: #842 Added a few more services: LAS, LGS, MFS, MS, AS, NS, WS. --- code/ryzom/server/src/CMakeLists.txt | 18 ++++++--------- .../src/log_analyser_service/CMakeLists.txt | 23 +++++++++++++++++++ .../server/src/logger_service/CMakeLists.txt | 22 ++++++++++++++++++ .../src/mail_forum_service/CMakeLists.txt | 22 ++++++++++++++++++ .../server/src/mirror_service/CMakeLists.txt | 22 ++++++++++++++++++ .../src/ryzom_admin_service/CMakeLists.txt | 20 ++++++++++++++++ .../src/ryzom_naming_service/CMakeLists.txt | 20 ++++++++++++++++ .../src/ryzom_welcome_service/CMakeLists.txt | 21 +++++++++++++++++ 8 files changed, 157 insertions(+), 11 deletions(-) create mode 100644 code/ryzom/server/src/log_analyser_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/logger_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/mail_forum_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/mirror_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/ryzom_admin_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/ryzom_naming_service/CMakeLists.txt create mode 100644 code/ryzom/server/src/ryzom_welcome_service/CMakeLists.txt diff --git a/code/ryzom/server/src/CMakeLists.txt b/code/ryzom/server/src/CMakeLists.txt index 3e3ef3c5b..8c5bf74e0 100644 --- a/code/ryzom/server/src/CMakeLists.txt +++ b/code/ryzom/server/src/CMakeLists.txt @@ -13,8 +13,13 @@ ADD_SUBDIRECTORY(entities_game_service) ADD_SUBDIRECTORY(frontend_service) ADD_SUBDIRECTORY(gpm_service) ADD_SUBDIRECTORY(input_output_service) - - +ADD_SUBDIRECTORY(ryzom_admin_service) +ADD_SUBDIRECTORY(ryzom_naming_service) +ADD_SUBDIRECTORY(ryzom_welcome_service) +ADD_SUBDIRECTORY(log_analyser_service) +ADD_SUBDIRECTORY(logger_service) +ADD_SUBDIRECTORY(mail_forum_service) +ADD_SUBDIRECTORY(mirror_service) # Deprecated, no longer used. #ADD_SUBDIRECTORY(ags_test) @@ -23,20 +28,11 @@ ADD_SUBDIRECTORY(input_output_service) #ADD_SUBDIRECTORY(general_utilities_service) #ADD_SUBDIRECTORY(patchman_service) -#gpm_service -# -#log_analyser_service -#logger_service -#mail_forum_service #mirror_service #monitor_service -#patchman_service #pd_reference_builder #pd_support_service #persistant_data_service -#ryzom_admin_service -#ryzom_naming_service -#ryzom_welcome_service #sabrina #server_share #session_browser_server diff --git a/code/ryzom/server/src/log_analyser_service/CMakeLists.txt b/code/ryzom/server/src/log_analyser_service/CMakeLists.txt new file mode 100644 index 000000000..2e1fe4991 --- /dev/null +++ b/code/ryzom/server/src/log_analyser_service/CMakeLists.txt @@ -0,0 +1,23 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(log_analyser_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(log_analyser_service admin_modules + ryzom_gameshare + pd_lib + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY} + ${NELGEORGES_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(log_analyser_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Log Analyzer Service (LAS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS log_analyser_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/logger_service/CMakeLists.txt b/code/ryzom/server/src/logger_service/CMakeLists.txt new file mode 100644 index 000000000..9d9bf7c8e --- /dev/null +++ b/code/ryzom/server/src/logger_service/CMakeLists.txt @@ -0,0 +1,22 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(logger_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(logger_service admin_modules + ryzom_gameshare + server_share + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(logger_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Logger Service (LGS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS logger_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/mail_forum_service/CMakeLists.txt b/code/ryzom/server/src/mail_forum_service/CMakeLists.txt new file mode 100644 index 000000000..1d402104e --- /dev/null +++ b/code/ryzom/server/src/mail_forum_service/CMakeLists.txt @@ -0,0 +1,22 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(mail_forum_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(mail_forum_service admin_modules + ryzom_gameshare + server_share + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(mail_forum_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Mail Forum Service (MFS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS mail_forum_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/mirror_service/CMakeLists.txt b/code/ryzom/server/src/mirror_service/CMakeLists.txt new file mode 100644 index 000000000..063e04fee --- /dev/null +++ b/code/ryzom/server/src/mirror_service/CMakeLists.txt @@ -0,0 +1,22 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(mirror_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(mirror_service admin_modules + ryzom_gameshare + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY} + ${NELGEORGES_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(mirror_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Mirror Service (MS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS mirror_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/ryzom_admin_service/CMakeLists.txt b/code/ryzom/server/src/ryzom_admin_service/CMakeLists.txt new file mode 100644 index 000000000..d97f6d74f --- /dev/null +++ b/code/ryzom/server/src/ryzom_admin_service/CMakeLists.txt @@ -0,0 +1,20 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(ryzom_admin_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(ryzom_admin_service admin_modules + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(ryzom_admin_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Ryzom Admin Service (AS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS ryzom_admin_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/ryzom_naming_service/CMakeLists.txt b/code/ryzom/server/src/ryzom_naming_service/CMakeLists.txt new file mode 100644 index 000000000..3c332e0fd --- /dev/null +++ b/code/ryzom/server/src/ryzom_naming_service/CMakeLists.txt @@ -0,0 +1,20 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(ryzom_naming_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(ryzom_naming_service admin_modules + ${PLATFORM_LINKFLAGS} + ${LIBXML2_LIBRARIES} + ${NELMISC_LIBRARY} + ${NELNET_LIBRARY}) +IF(WIN32) + SET_TARGET_PROPERTIES(ryzom_naming_service PROPERTIES + LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" + PROJECT_LABEL "Services: Ryzom Naming Service (NS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS ryzom_naming_service RUNTIME DESTINATION sbin COMPONENT services) + + diff --git a/code/ryzom/server/src/ryzom_welcome_service/CMakeLists.txt b/code/ryzom/server/src/ryzom_welcome_service/CMakeLists.txt new file mode 100644 index 000000000..f3f642ab4 --- /dev/null +++ b/code/ryzom/server/src/ryzom_welcome_service/CMakeLists.txt @@ -0,0 +1,21 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(ryzom_welcome_service ${SRC}) + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(ryzom_welcome_service admin_modules + ryzom_gameshare + ${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: Ryzom Welcome Service (WS)") +ENDIF(WIN32) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS ryzom_welcome_service RUNTIME DESTINATION sbin COMPONENT services) + +