2010-06-08 15:06:58 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
ADD_EXECUTABLE(ryzom_gpm_service WIN32 ${SRC})
|
2010-06-08 15:06:58 +00:00
|
|
|
|
2010-09-03 15:45:59 +00:00
|
|
|
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
2010-09-15 08:19:55 +00:00
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_gpm_service
|
|
|
|
ryzom_adminmodules
|
|
|
|
ryzom_gameshare
|
|
|
|
ryzom_servershare
|
|
|
|
${LIBXML2_LIBRARIES}
|
2010-09-03 15:45:59 +00:00
|
|
|
nelmisc
|
|
|
|
nelnet
|
|
|
|
nelpacs
|
|
|
|
nelgeorges
|
|
|
|
nelligo)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
NL_DEFAULT_PROPS(ryzom_gpm_service "Ryzom, Services: Global Position Manager Service (GPMS)")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_gpm_service)
|
2010-09-03 15:45:59 +00:00
|
|
|
|
2010-06-08 15:06:58 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2011-05-24 08:54:17 +00:00
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_gpm_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
INSTALL(TARGETS ryzom_gpm_service RUNTIME DESTINATION sbin COMPONENT services)
|