|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(monitor_service WIN32 ${SRC})
|
|
|
|
|
ADD_EXECUTABLE(ryzom_monitor_service WIN32 ${SRC})
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
|
|
|
|
TARGET_LINK_LIBRARIES(monitor_service
|
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_monitor_service
|
|
|
|
|
ryzom_gameshare
|
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
|
${ZLIB_LIBRARY}
|
|
|
|
@ -12,15 +12,15 @@ TARGET_LINK_LIBRARIES(monitor_service
|
|
|
|
|
nelnet
|
|
|
|
|
nelgeorges)
|
|
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(monitor_service "Ryzom, Services: Monitor Service (MOS)")
|
|
|
|
|
NL_ADD_RUNTIME_FLAGS(monitor_service)
|
|
|
|
|
NL_DEFAULT_PROPS(ryzom_monitor_service "Ryzom, Services: Monitor Service (MOS)")
|
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_monitor_service)
|
|
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
|
|
IF(WITH_PCH)
|
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(monitor_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_monitor_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
|
|
|
|
|
INSTALL(TARGETS monitor_service RUNTIME DESTINATION sbin COMPONENT services)
|
|
|
|
|
INSTALL(TARGETS ryzom_monitor_service RUNTIME DESTINATION sbin COMPONENT services)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|