mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-08 08:19:01 +00:00
25 lines
793 B
Text
25 lines
793 B
Text
|
FILE(GLOB SRC *.cpp *.h)
|
||
|
|
||
|
ADD_EXECUTABLE(gpm_service ${SRC})
|
||
|
|
||
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||
|
TARGET_LINK_LIBRARIES(gpm_service admin_modules
|
||
|
game_share
|
||
|
server_share
|
||
|
${PLATFORM_LINKFLAGS}
|
||
|
${LIBXML2_LIBRARIES}
|
||
|
${NELMISC_LIBRARY}
|
||
|
${NELNET_LIBRARY}
|
||
|
${NELPACS_LIBRARY}
|
||
|
${NELGEORGES_LIBRARY}
|
||
|
${NELLIGO_LIBRARY})
|
||
|
IF(WIN32)
|
||
|
SET_TARGET_PROPERTIES(gpm_service PROPERTIES
|
||
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||
|
PROJECT_LABEL "Services: Global Position Manager Service (GPMS)")
|
||
|
ENDIF(WIN32)
|
||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||
|
|
||
|
INSTALL(TARGETS gpm_service RUNTIME DESTINATION sbin COMPONENT services)
|
||
|
|