2010-06-08 15:06:58 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-09-15 08:19:55 +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)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
ADD_EXECUTABLE(ryzom_patchman_service ${SRC})
|
2010-06-08 15:06:58 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
2010-09-15 08:19:55 +00:00
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_patchman_service
|
|
|
|
ryzom_adminmodules
|
2010-06-11 19:56:43 +00:00
|
|
|
ryzom_gameshare
|
2010-09-15 08:19:55 +00:00
|
|
|
ryzom_servershare
|
2010-06-08 15:06:58 +00:00
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${MYSQL_LIBRARIES}
|
|
|
|
${ZLIB_LIBRARIES}
|
2010-09-15 08:19:55 +00:00
|
|
|
nelmisc
|
|
|
|
nelnet
|
|
|
|
nelpacs
|
|
|
|
nelgeorges
|
|
|
|
nelligo)
|
2010-06-08 15:06:58 +00:00
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
NL_DEFAULT_PROPS(ryzom_patchman_service "Ryzom, Services: Patch Manager Service (PMS)")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_patchman_service)
|
2010-06-08 15:06:58 +00:00
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
2010-06-08 15:06:58 +00:00
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
INSTALL(TARGETS ryzom_patchman_service RUNTIME DESTINATION sbin COMPONENT services)
|