Changed: #842 Added PDS, SBS, SUS and TS to CMake build.
parent
f5e591486f
commit
95c62c13fe
@ -0,0 +1,22 @@
|
|||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(persistant_data_service ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||||
|
TARGET_LINK_LIBRARIES(persistant_data_service admin_modules
|
||||||
|
ryzom_gameshare
|
||||||
|
pd_lib
|
||||||
|
${PLATFORM_LINKFLAGS}
|
||||||
|
${LIBXML2_LIBRARIES}
|
||||||
|
${NELMISC_LIBRARY}
|
||||||
|
${NELNET_LIBRARY})
|
||||||
|
IF(WIN32)
|
||||||
|
SET_TARGET_PROPERTIES(persistant_data_service PROPERTIES
|
||||||
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||||
|
PROJECT_LABEL "Services: Persistent Data Service (PDS)")
|
||||||
|
ENDIF(WIN32)
|
||||||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS persistant_data_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(session_browser_service ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||||
|
TARGET_LINK_LIBRARIES(session_browser_service admin_modules
|
||||||
|
ryzom_gameshare
|
||||||
|
server_share
|
||||||
|
${PLATFORM_LINKFLAGS}
|
||||||
|
${LIBXML2_LIBRARIES}
|
||||||
|
${MYSQL_LIBRARIES}
|
||||||
|
${ZLIB_LIBRARY}
|
||||||
|
${NELMISC_LIBRARY}
|
||||||
|
${NELNET_LIBRARY}
|
||||||
|
${NELGEORGES_LIBRARY})
|
||||||
|
IF(WIN32)
|
||||||
|
SET_TARGET_PROPERTIES(session_browser_service PROPERTIES
|
||||||
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||||
|
PROJECT_LABEL "Services: Session Browser Service (SBS)")
|
||||||
|
ENDIF(WIN32)
|
||||||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS session_browser_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(shard_unifier_service ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||||
|
TARGET_LINK_LIBRARIES(shard_unifier_service admin_modules
|
||||||
|
ryzom_gameshare
|
||||||
|
server_share
|
||||||
|
${PLATFORM_LINKFLAGS}
|
||||||
|
${LIBXML2_LIBRARIES}
|
||||||
|
${MYSQL_LIBRARIES}
|
||||||
|
${ZLIB_LIBRARY}
|
||||||
|
${NELMISC_LIBRARY}
|
||||||
|
${NELNET_LIBRARY}
|
||||||
|
${NELGEORGES_LIBRARY})
|
||||||
|
IF(WIN32)
|
||||||
|
SET_TARGET_PROPERTIES(shard_unifier_service PROPERTIES
|
||||||
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||||
|
PROJECT_LABEL "Services: Shard Unifier Service (SUS)")
|
||||||
|
ENDIF(WIN32)
|
||||||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS shard_unifier_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(tick_service ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||||
|
TARGET_LINK_LIBRARIES(tick_service admin_modules
|
||||||
|
ryzom_gameshare
|
||||||
|
${PLATFORM_LINKFLAGS}
|
||||||
|
${LIBXML2_LIBRARIES}
|
||||||
|
${NELMISC_LIBRARY}
|
||||||
|
${NELNET_LIBRARY}
|
||||||
|
${NELGEORGES_LIBRARY})
|
||||||
|
IF(WIN32)
|
||||||
|
SET_TARGET_PROPERTIES(tick_service PROPERTIES
|
||||||
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||||
|
PROJECT_LABEL "Services: Tick Service (TS)")
|
||||||
|
ENDIF(WIN32)
|
||||||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS tick_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue