Chanegd: #842 Added more server services and tools to the build.
parent
1a695c444b
commit
9effa3d68f
@ -0,0 +1,24 @@
|
||||
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)
|
||||
|
@ -0,0 +1,35 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log_inline.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ios_pd.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ios_pd.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ios_pd_inline.h)
|
||||
|
||||
ADD_EXECUTABLE(ios_service ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(ios_service admin_modules
|
||||
pd_lib
|
||||
game_share
|
||||
server_share
|
||||
${PLATFORM_LINKFLAGS}
|
||||
${LIBXML2_LIBRARIES}
|
||||
${NELMISC_LIBRARY}
|
||||
${NELNET_LIBRARY}
|
||||
${NELPACS_LIBRARY}
|
||||
${NELGEORGES_LIBRARY}
|
||||
${NELLIGO_LIBRARY})
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(ios_service PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Services: Input Ouput Service (IOS)")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
INSTALL(TARGETS ios_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||
|
||||
|
@ -0,0 +1,31 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/Backup\ 1\ of\ file_repository.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.cpp
|
||||
${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
|
||||
game_share
|
||||
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)
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
# Deprecated, no longer used
|
||||
#ADD_SUBDIRECTORY(ai_build_wmap)
|
||||
|
||||
# Not done yet.
|
||||
#admin
|
||||
#brick_param_extractor
|
||||
#build_spell_sheet
|
||||
#build_world_packed_col
|
||||
#CMakeLists.txt
|
||||
#sql
|
||||
#www
|
@ -0,0 +1,17 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
ADD_EXECUTABLE(ai_build_wmap ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/server/src
|
||||
${CMAKE_SOURCE_DIR}/common/src
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${NEL_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(ai_build_wmap game_share
|
||||
server_share
|
||||
ai_share
|
||||
${PLATFORM_LINKFLAGS}
|
||||
${LIBXML2_LIBRARIES}
|
||||
${NELMISC_LIBRARY})
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
INSTALL(TARGETS ai_build_wmap RUNTIME DESTINATION bin COMPONENT tools)
|
Loading…
Reference in New Issue