2010-06-08 15:06:58 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-07-01 08:50:57 +00:00
|
|
|
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.cpp
|
2010-06-08 15:06:58 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.h)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(patchman_service ${SRC})
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES(patchman_service admin_modules
|
2010-06-11 19:56:43 +00:00
|
|
|
ryzom_gameshare
|
2010-06-08 15:06:58 +00:00
|
|
|
server_share
|
|
|
|
${PLATFORM_LINKFLAGS}
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${MYSQL_LIBRARIES}
|
|
|
|
${ZLIB_LIBRARIES}
|
|
|
|
${NELMISC_LIBRARY}
|
|
|
|
${NELNET_LIBRARY}
|
|
|
|
${NELPACS_LIBRARY}
|
|
|
|
${NELGEORGES_LIBRARY}
|
|
|
|
${NELLIGO_LIBRARY})
|
|
|
|
IF(WIN32)
|
|
|
|
SET_TARGET_PROPERTIES(patchman_service PROPERTIES
|
|
|
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
|
|
|
PROJECT_LABEL "Services: Patch Manager (PMS)")
|
|
|
|
ENDIF(WIN32)
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
INSTALL(TARGETS patchman_service RUNTIME DESTINATION sbin COMPONENT services)
|
|
|
|
|
|
|
|
|