Changed: Renamed servers executables and libs with CMake

This commit is contained in:
kervala 2010-09-15 10:19:55 +02:00
parent ee8055f5a3
commit 8a598ab46a
33 changed files with 365 additions and 279 deletions

View file

@ -1,14 +1,14 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
NL_TARGET_LIB(admin_modules ${SRC}) NL_TARGET_LIB(ryzom_adminmodules ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
TARGET_LINK_LIBRARIES(admin_modules nelmisc)
SET_TARGET_PROPERTIES(admin_modules PROPERTIES VERSION ${NL_VERSION})
NL_DEFAULT_PROPS(admin_modules "Ryzom, Library: Service Admin Modules") TARGET_LINK_LIBRARIES(ryzom_adminmodules nelmisc nelnet)
NL_ADD_LIB_SUFFIX(admin_modules) NL_DEFAULT_PROPS(ryzom_adminmodules "Ryzom, Library: Service Admin Modules")
NL_ADD_RUNTIME_FLAGS(ryzom_adminmodules)
NL_ADD_LIB_SUFFIX(ryzom_adminmodules)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS admin_modules LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) INSTALL(TARGETS ryzom_adminmodules LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)

View file

@ -1,6 +1,7 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.h ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.h
${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id_inline.h ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id_inline.h
${CMAKE_CURRENT_SOURCE_DIR}/ai_world_map.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ai_world_map.cpp
@ -12,30 +13,31 @@ LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.h) ${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.h)
ADD_EXECUTABLE(ai_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_ai_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ai_service admin_modules TARGET_LINK_LIBRARIES(ryzom_ai_service
ryzom_gameshare ryzom_adminmodules
server_share ryzom_gameshare
ai_share ryzom_servershare
${PLATFORM_LINKFLAGS} ryzom_aishare
${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS}
${MYSQL_LIBRARIES} ${LIBXML2_LIBRARIES}
${ZLIB_LIBRARIES} ${MYSQL_LIBRARIES}
${ZLIB_LIBRARIES}
nelmisc nelmisc
nelnet nelnet
nelgeorges nelgeorges
nelligo) nelligo)
NL_DEFAULT_PROPS(ai_service "Ryzom, Services: AI Service (AIS)") NL_DEFAULT_PROPS(ryzom_ai_service "Ryzom, Services: AI Service (AIS)")
NL_ADD_RUNTIME_FLAGS(ai_service) NL_ADD_RUNTIME_FLAGS(ryzom_ai_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(ai_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_ai_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS ai_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_ai_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,17 +1,25 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
NL_TARGET_LIB(ai_share ${SRC}) NL_TARGET_LIB(ryzom_aishare ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ai_share ryzom_gameshare server_share nelmisc nelnet nelgeorges nelpacs)
NL_DEFAULT_PROPS(ai_share "Ryzom, Library: AI Shared") TARGET_LINK_LIBRARIES(ryzom_aishare
NL_ADD_LIB_SUFFIX(ai_share) ryzom_gameshare
ryzom_servershare
nelmisc
nelnet
nelgeorges
nelpacs)
NL_DEFAULT_PROPS(ryzom_aishare "Ryzom, Library: AI Shared")
NL_ADD_RUNTIME_FLAGS(ryzom_aishare)
NL_ADD_LIB_SUFFIX(ryzom_aishare)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(ai_share ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_aishare ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS ai_share LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) INSTALL(TARGETS ryzom_aishare LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)

View file

@ -1,23 +1,24 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(backup_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_backup_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(backup_service admin_modules
ryzom_gameshare TARGET_LINK_LIBRARIES(ryzom_backup_service
server_share ryzom_adminmodules
${PLATFORM_LINKFLAGS} ryzom_gameshare
${LIBXML2_LIBRARIES} ryzom_servershare
${ZLIB_LIBRARIES} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
${ZLIB_LIBRARIES}
nelmisc nelmisc
nelnet nelnet
nelgeorges nelgeorges
nelligo) nelligo)
NL_DEFAULT_PROPS(backup_service "Ryzom, Services: Backup Service (BS)") NL_DEFAULT_PROPS(ryzom_backup_service "Ryzom, Services: Backup Service (BS)")
NL_ADD_RUNTIME_FLAGS(backup_service) NL_ADD_RUNTIME_FLAGS(ryzom_backup_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS backup_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_backup_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -2,25 +2,26 @@ FILE(GLOB SRC *.cpp *.h)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/service.cpp ${CMAKE_CURRENT_SOURCE_DIR}/service.h) LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/service.cpp ${CMAKE_CURRENT_SOURCE_DIR}/service.h)
ADD_EXECUTABLE(dynamic_scenario_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_dynamic_scenario_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(dynamic_scenario_service admin_modules
ryzom_gameshare TARGET_LINK_LIBRARIES(ryzom_dynamic_scenario_service
server_share ryzom_adminmodules
ai_share ryzom_gameshare
${PLATFORM_LINKFLAGS} ryzom_servershare
${LIBXML2_LIBRARIES} ryzom_aishare
${ZLIB_LIBRARIES} ${PLATFORM_LINKFLAGS}
nelmisc ${LIBXML2_LIBRARIES}
${ZLIB_LIBRARIES}
nelmisc
nelnet nelnet
nelgeorges nelgeorges
nelligo) nelligo)
NL_DEFAULT_PROPS(dynamic_scenario_service "Ryzom, Services: Dynamic Scenario Service (DSS)") NL_DEFAULT_PROPS(ryzom_dynamic_scenario_service "Ryzom, Services: Dynamic Scenario Service (DSS)")
NL_ADD_RUNTIME_FLAGS(dynamic_scenario_service) NL_ADD_RUNTIME_FLAGS(ryzom_dynamic_scenario_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS dynamic_scenario_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_dynamic_scenario_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -20,7 +20,8 @@ FILE(GLOB SRC *.cpp *.h
stables/*.h stables/*.cpp stables/*.h stables/*.cpp
team_manager/*.h team_manager/*.cpp) team_manager/*.h team_manager/*.cpp)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.h ${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.h
${CMAKE_CURRENT_SOURCE_DIR}/egs_static_continent.cpp ${CMAKE_CURRENT_SOURCE_DIR}/egs_static_continent.cpp
${CMAKE_CURRENT_SOURCE_DIR}/egs_static_continent.h ${CMAKE_CURRENT_SOURCE_DIR}/egs_static_continent.h
@ -40,15 +41,17 @@ LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/shop_type/solded_items.cpp ${CMAKE_CURRENT_SOURCE_DIR}/shop_type/solded_items.cpp
${CMAKE_CURRENT_SOURCE_DIR}/shop_type/solded_items.h) ${CMAKE_CURRENT_SOURCE_DIR}/shop_type/solded_items.h)
ADD_EXECUTABLE(entities_game_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_entities_game_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(entities_game_service admin_modules
ryzom_gameshare TARGET_LINK_LIBRARIES(ryzom_entities_game_service
server_share ryzom_adminmodules
ai_share ryzom_gameshare
pd_lib ryzom_servershare
gameplay_module_lib ryzom_aishare
ryzom_pd
ryzom_gameplaymodule
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${MYSQL_LIBRARIES} ${MYSQL_LIBRARIES}
@ -58,14 +61,13 @@ TARGET_LINK_LIBRARIES(entities_game_service admin_modules
nelgeorges nelgeorges
nelligo) nelligo)
NL_DEFAULT_PROPS(entities_game_service "Ryzom, Services: Entities Game Service (EGS)") NL_DEFAULT_PROPS(ryzom_entities_game_service "Ryzom, Services: Entities Game Service (EGS)")
NL_ADD_RUNTIME_FLAGS(entities_game_service) NL_ADD_RUNTIME_FLAGS(ryzom_entities_game_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(entities_game_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_entities_game_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS entities_game_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_entities_game_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -2,26 +2,27 @@ FILE(GLOB SRC *.cpp *.h)
#LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/service.cpp ${CMAKE_CURRENT_SOURCE_DIR}/service.h) #LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/service.cpp ${CMAKE_CURRENT_SOURCE_DIR}/service.h)
ADD_EXECUTABLE(entity_view_service ${SRC}) ADD_EXECUTABLE(ryzom_entity_view_service ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ryzom_entity_view_service
ryzom_adminmodules
ryzom_gameshare
ryzom_servershare
ryzom_aishare
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
${ZLIB_LIBRARIES}
nelmisc
nelnet
nelgeorges
nelligo)
NL_DEFAULT_PROPS(ryzom_entity_view_service "Ryzom, Services: Entity View Service (EVS)")
NL_ADD_RUNTIME_FLAGS(ryzom_entity_view_service)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(entity_view_service admin_modules
ryzom_gameshare
server_share
ai_share
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
${ZLIB_LIBRARIES}
${NELMISC_LIBRARY}
${NELNET_LIBRARY}
${NELGEORGES_LIBRARY}
${NELLIGO_LIBRARY})
IF(WIN32)
SET_TARGET_PROPERTIES(entity_view_service PROPERTIES
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
PROJECT_LABEL "Services: Entity View Service (EVS)")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS entity_view_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_entity_view_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,25 +1,36 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.h ${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.h
${CMAKE_CURRENT_SOURCE_DIR}/prioritizer.cpp ${CMAKE_CURRENT_SOURCE_DIR}/prioritizer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/prioritizer.h ${CMAKE_CURRENT_SOURCE_DIR}/prioritizer.h
${CMAKE_CURRENT_SOURCE_DIR}/property_dispatcher.cpp ${CMAKE_CURRENT_SOURCE_DIR}/property_dispatcher.cpp
${CMAKE_CURRENT_SOURCE_DIR}/property_dispatcher.h) ${CMAKE_CURRENT_SOURCE_DIR}/property_dispatcher.h)
ADD_EXECUTABLE(frontend_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_frontend_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(frontend_service admin_modules ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${MYSQL_LIBRARIES} ${ZLIB_LIBRARIES} nelmisc nelnet nelgeorges nelligo)
NL_DEFAULT_PROPS(frontend_service "Ryzom, Services: Frontend Service (FS)") TARGET_LINK_LIBRARIES(ryzom_frontend_service
NL_ADD_RUNTIME_FLAGS(frontend_service) ryzom_adminmodules
ryzom_gameshare
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
${MYSQL_LIBRARIES}
${ZLIB_LIBRARIES}
nelmisc
nelnet
nelgeorges
nelligo)
NL_DEFAULT_PROPS(ryzom_frontend_service "Ryzom, Services: Frontend Service (FS)")
NL_ADD_RUNTIME_FLAGS(ryzom_frontend_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(frontend_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_frontend_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS frontend_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_frontend_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,6 +1,7 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ec_event_chat.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/ec_event_chat.cpp
${CMAKE_CURRENT_SOURCE_DIR}/gus_mfc_popups.cpp ${CMAKE_CURRENT_SOURCE_DIR}/gus_mfc_popups.cpp
${CMAKE_CURRENT_SOURCE_DIR}/gus_mfc_popups.h ${CMAKE_CURRENT_SOURCE_DIR}/gus_mfc_popups.h
${CMAKE_CURRENT_SOURCE_DIR}/gus_mfc_select_with_text.cpp ${CMAKE_CURRENT_SOURCE_DIR}/gus_mfc_select_with_text.cpp
@ -12,27 +13,26 @@ LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ec_event_chat.cpp
${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.h ${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.h
${CMAKE_CURRENT_SOURCE_DIR}/rr_repository_reciever.cpp) ${CMAKE_CURRENT_SOURCE_DIR}/rr_repository_reciever.cpp)
ADD_EXECUTABLE(general_utilities_service ${SRC}) ADD_EXECUTABLE(ryzom_general_utilities_service ${SRC})
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(general_utilities_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_general_utilities_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
ai_share ryzom_aishare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${ZLIB_LIBRARIES} ${ZLIB_LIBRARIES}
${NELMISC_LIBRARY} nelmisc
${NELNET_LIBRARY} nelnet
${NELGEORGES_LIBRARY} nelgeorges}
${NELLIGO_LIBRARY}) nelligo)
IF(WIN32)
SET_TARGET_PROPERTIES(general_utilities_service PROPERTIES NL_DEFAULT_PROPS(ryzom_general_utilities_service "Ryzom, Services: General Utilities Service (GUS)")
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" NL_ADD_RUNTIME_FLAGS(ryzom_general_utilities_service)
PROJECT_LABEL "Services: General Utilities Service (GUS)")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS general_utilities_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_general_utilities_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,23 +1,24 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(gpm_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_gpm_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(gpm_service admin_modules
ryzom_gameshare TARGET_LINK_LIBRARIES(ryzom_gpm_service
server_share ryzom_adminmodules
${PLATFORM_LINKFLAGS} ryzom_gameshare
${LIBXML2_LIBRARIES} ryzom_servershare
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet nelnet
nelpacs nelpacs
nelgeorges nelgeorges
nelligo) nelligo)
NL_DEFAULT_PROPS(gpm_service "Ryzom, Services: Global Position Manager Service (GPMS)") NL_DEFAULT_PROPS(ryzom_gpm_service "Ryzom, Services: Global Position Manager Service (GPMS)")
NL_ADD_RUNTIME_FLAGS(gpm_service) NL_ADD_RUNTIME_FLAGS(ryzom_gpm_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS gpm_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_gpm_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,6 +1,7 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.h ${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.h
${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log.h ${CMAKE_CURRENT_SOURCE_DIR}/ios_chat_log.h
@ -9,30 +10,31 @@ LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/bot_chat_manager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ios_pd.h ${CMAKE_CURRENT_SOURCE_DIR}/ios_pd.h
${CMAKE_CURRENT_SOURCE_DIR}/ios_pd_inline.h) ${CMAKE_CURRENT_SOURCE_DIR}/ios_pd_inline.h)
ADD_EXECUTABLE(ios_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_ios_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ios_service admin_modules TARGET_LINK_LIBRARIES(ryzom_ios_service
pd_lib ryzom_adminmodules
ryzom_gameshare ryzom_pd
server_share ryzom_gameshare
${PLATFORM_LINKFLAGS} ryzom_servershare
${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS}
nelmisc ${LIBXML2_LIBRARIES}
nelmisc
nelnet nelnet
nelpacs nelpacs
nelgeorges nelgeorges
nelligo) nelligo)
NL_DEFAULT_PROPS(ios_service "Ryzom, Services: Input Ouput Service (IOS)") NL_DEFAULT_PROPS(ryzom_ios_service "Ryzom, Services: Input Ouput Service (IOS)")
NL_ADD_RUNTIME_FLAGS(ios_service) NL_ADD_RUNTIME_FLAGS(ryzom_ios_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(ios_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_ios_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS ios_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_ios_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,22 +1,22 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(log_analyser_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_log_analyser_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(log_analyser_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_log_analyser_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
pd_lib ryzom_pd
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet nelnet
nelgeorges) nelgeorges)
NL_DEFAULT_PROPS(log_analyser_service "Ryzom, Services: Log Analyzer Service (LAS)") NL_DEFAULT_PROPS(ryzom_log_analyser_service "Ryzom, Services: Log Analyzer Service (LAS)")
NL_ADD_RUNTIME_FLAGS(log_analyser_service) NL_ADD_RUNTIME_FLAGS(ryzom_log_analyser_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS log_analyser_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_log_analyser_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,21 +1,21 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(logger_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_logger_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(logger_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_logger_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet) nelnet)
NL_DEFAULT_PROPS(logger_service "Ryzom, Services: Logger Service (LGS)") NL_DEFAULT_PROPS(ryzom_logger_service "Ryzom, Services: Logger Service (LGS)")
NL_ADD_RUNTIME_FLAGS(logger_service) NL_ADD_RUNTIME_FLAGS(ryzom_logger_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS logger_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_logger_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,25 +1,25 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(mail_forum_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_mail_forum_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(mail_forum_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_mail_forum_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet) nelnet)
NL_DEFAULT_PROPS(mail_forum_service "Ryzom, Services: Mail Forum Service (MFS)") NL_DEFAULT_PROPS(ryzom_mail_forum_service "Ryzom, Services: Mail Forum Service (MFS)")
NL_ADD_RUNTIME_FLAGS(mail_forum_service) NL_ADD_RUNTIME_FLAGS(ryzom_mail_forum_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(mail_forum_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_mail_forum_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS mail_forum_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_mail_forum_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,9 +1,11 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(mirror_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_mirror_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(mirror_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_mirror_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
@ -11,11 +13,9 @@ TARGET_LINK_LIBRARIES(mirror_service admin_modules
nelnet nelnet
nelgeorges) nelgeorges)
NL_DEFAULT_PROPS(mirror_service "Ryzom, Services: Mirror Service (MS)") NL_DEFAULT_PROPS(ryzom_mirror_service "Ryzom, Services: Mirror Service (MS)")
NL_ADD_RUNTIME_FLAGS(mirror_service) NL_ADD_RUNTIME_FLAGS(ryzom_mirror_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS mirror_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_mirror_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,30 +1,30 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.cpp
${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.h) ${CMAKE_CURRENT_SOURCE_DIR}/rr_module_itf.h)
ADD_EXECUTABLE(patchman_service ${SRC}) ADD_EXECUTABLE(ryzom_patchman_service ${SRC})
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) 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
TARGET_LINK_LIBRARIES(ryzom_patchman_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${MYSQL_LIBRARIES} ${MYSQL_LIBRARIES}
${ZLIB_LIBRARIES} ${ZLIB_LIBRARIES}
${NELMISC_LIBRARY} nelmisc
${NELNET_LIBRARY} nelnet
${NELPACS_LIBRARY} nelpacs
${NELGEORGES_LIBRARY} nelgeorges
${NELLIGO_LIBRARY}) nelligo)
IF(WIN32)
SET_TARGET_PROPERTIES(patchman_service PROPERTIES NL_DEFAULT_PROPS(ryzom_patchman_service "Ryzom, Services: Patch Manager Service (PMS)")
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" NL_ADD_RUNTIME_FLAGS(ryzom_patchman_service)
PROJECT_LABEL "Services: Patch Manager (PMS)")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS patchman_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_patchman_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,17 +1,19 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
# Filter out the source files not actually compiled. # Filter out the source files not actually compiled.
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/pd_string_manager.cpp LIST(REMOVE_ITEM SRC
${CMAKE_CURRENT_SOURCE_DIR}/pd_string_manager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pd_string_manager.h) ${CMAKE_CURRENT_SOURCE_DIR}/pd_string_manager.h)
NL_TARGET_LIB(pd_lib ${SRC}) NL_TARGET_LIB(ryzom_pd ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(pd_lib nelmisc)
TARGET_LINK_LIBRARIES(ryzom_pd nelmisc nelnet)
NL_DEFAULT_PROPS(pd_lib "Ryzom, Library: PD Lib") NL_DEFAULT_PROPS(ryzom_pd "Ryzom, Library: PD Lib")
NL_ADD_LIB_SUFFIX(pd_lib) NL_ADD_RUNTIME_FLAGS(ryzom_pd)
NL_ADD_LIB_SUFFIX(ryzom_pd)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS pd_lib LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) INSTALL(TARGETS ryzom_pd LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)

View file

@ -1,24 +1,21 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(reference_builder_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_reference_builder_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(reference_builder_service TARGET_LINK_LIBRARIES(ryzom_reference_builder_service
ryzom_gameshare ryzom_gameshare
pd_lib ryzom_pd
nelmisc nelmisc
nelnet nelnet
nelgeorges nelgeorges
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES})
)
NL_DEFAULT_PROPS(reference_builder_service "Ryzom, Services: Reference Builder Service (RBS)") NL_DEFAULT_PROPS(ryzom_reference_builder_service "Ryzom, Services: Reference Builder Service (RBS)")
NL_ADD_RUNTIME_FLAGS(reference_builder_service) NL_ADD_RUNTIME_FLAGS(ryzom_reference_builder_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS reference_builder_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_reference_builder_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,21 +1,20 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(pd_support_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_pd_support_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(pd_support_service admin_modules TARGET_LINK_LIBRARIES(ryzom_pd_support_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet) nelnet)
NL_DEFAULT_PROPS(pd_support_service "Ryzom, Services: PD Support Service (PDSS)") NL_DEFAULT_PROPS(ryzom_pd_support_service "Ryzom, Services: PD Support Service (PDSS)")
NL_ADD_RUNTIME_FLAGS(pd_support_service) NL_ADD_RUNTIME_FLAGS(ryzom_pd_support_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS pd_support_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_pd_support_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,21 +1,21 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(persistant_data_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_persistant_data_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(persistant_data_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_persistant_data_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
pd_lib ryzom_pd
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet) nelnet)
NL_DEFAULT_PROPS(persistant_data_service "Ryzom, Services: Persistent Data Service (PDS)") NL_DEFAULT_PROPS(ryzom_persistant_data_service "Ryzom, Services: Persistent Data Service (PDS)")
NL_ADD_RUNTIME_FLAGS(persistant_data_service) NL_ADD_RUNTIME_FLAGS(ryzom_persistant_data_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS persistant_data_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_persistant_data_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -3,7 +3,9 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(ryzom_admin_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_admin_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ryzom_admin_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_admin_service
ryzom_adminmodules
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc

View file

@ -3,7 +3,9 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(ryzom_naming_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_naming_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ryzom_naming_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_naming_service
ryzom_adminmodules
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc

View file

@ -3,7 +3,9 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(ryzom_welcome_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_welcome_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ryzom_welcome_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_welcome_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}

View file

@ -1,17 +1,26 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
NL_TARGET_LIB(server_share ${SRC}) NL_TARGET_LIB(ryzom_servershare ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(server_share nelmisc nelpacs ${NELPACS_LIBRARY} ${MYSQL_LIBRARIES} ${ZLIB_LIBRARIES})
NL_DEFAULT_PROPS(server_share "Ryzom, Library: Service Shared") TARGET_LINK_LIBRARIES(ryzom_servershare
NL_ADD_LIB_SUFFIX(server_share) nelmisc
nelpacs
nelgeorges
nelnet
ryzom_gameshare
${MYSQL_LIBRARIES}
${ZLIB_LIBRARIES})
NL_DEFAULT_PROPS(ryzom_servershare "Ryzom, Library: Service Shared")
NL_ADD_RUNTIME_FLAGS(ryzom_servershare)
NL_ADD_LIB_SUFFIX(ryzom_servershare)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(server_share ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_servershare ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS server_share LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) INSTALL(TARGETS ryzom_servershare LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)

View file

@ -1,11 +1,13 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(session_browser_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_session_browser_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(session_browser_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_session_browser_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${MYSQL_LIBRARIES} ${MYSQL_LIBRARIES}
@ -14,11 +16,9 @@ TARGET_LINK_LIBRARIES(session_browser_service admin_modules
nelnet nelnet
nelgeorges) nelgeorges)
NL_DEFAULT_PROPS(session_browser_service "Ryzom, Services: Session Browser Service (SBS)") NL_DEFAULT_PROPS(ryzom_session_browser_service "Ryzom, Services: Session Browser Service (SBS)")
NL_ADD_RUNTIME_FLAGS(session_browser_service) NL_ADD_RUNTIME_FLAGS(ryzom_session_browser_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS session_browser_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_session_browser_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,11 +1,13 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(shard_unifier_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_shard_unifier_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(shard_unifier_service admin_modules
TARGET_LINK_LIBRARIES(ryzom_shard_unifier_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
server_share ryzom_servershare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${MYSQL_LIBRARIES} ${MYSQL_LIBRARIES}
@ -14,15 +16,13 @@ TARGET_LINK_LIBRARIES(shard_unifier_service admin_modules
nelnet nelnet
nelgeorges) nelgeorges)
NL_DEFAULT_PROPS(shard_unifier_service "Ryzom, Services: Shard Unifier Service (SUS)") NL_DEFAULT_PROPS(ryzom_shard_unifier_service "Ryzom, Services: Shard Unifier Service (SUS)")
NL_ADD_RUNTIME_FLAGS(shard_unifier_service) NL_ADD_RUNTIME_FLAGS(ryzom_shard_unifier_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(shard_unifier_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_shard_unifier_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH) ENDIF(WITH_PCH)
INSTALL(TARGETS shard_unifier_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_shard_unifier_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -1,21 +1,20 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(tick_service WIN32 ${SRC}) ADD_EXECUTABLE(ryzom_tick_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(tick_service admin_modules TARGET_LINK_LIBRARIES(ryzom_tick_service
ryzom_adminmodules
ryzom_gameshare ryzom_gameshare
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
nelmisc nelmisc
nelnet nelnet
nelgeorges) nelgeorges)
NL_DEFAULT_PROPS(tick_service "Ryzom, Services: Tick Service (TS)") NL_DEFAULT_PROPS(ryzom_tick_service "Ryzom, Services: Tick Service (TS)")
NL_ADD_RUNTIME_FLAGS(tick_service) NL_ADD_RUNTIME_FLAGS(ryzom_tick_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS tick_service RUNTIME DESTINATION sbin COMPONENT services) INSTALL(TARGETS ryzom_tick_service RUNTIME DESTINATION sbin COMPONENT services)

View file

@ -2,8 +2,16 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(export ${SRC}) ADD_EXECUTABLE(export ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(export ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
TARGET_LINK_LIBRARIES(export
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
nelmisc)
NL_DEFAULT_PROPS(export "Ryzom, Tools: Export")
NL_ADD_RUNTIME_FLAGS(export)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS export RUNTIME DESTINATION bin COMPONENT tools) INSTALL(TARGETS export RUNTIME DESTINATION bin COMPONENT tools)

View file

@ -2,8 +2,16 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(named2csv ${SRC}) ADD_EXECUTABLE(named2csv ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(named2csv ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
TARGET_LINK_LIBRARIES(named2csv
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
nelmisc)
NL_DEFAULT_PROPS(named2csv "Ryzom, Tools: Named Items to CSV")
NL_ADD_RUNTIME_FLAGS(named2csv)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS named2csv RUNTIME DESTINATION bin COMPONENT tools) INSTALL(TARGETS named2csv RUNTIME DESTINATION bin COMPONENT tools)

View file

@ -2,8 +2,16 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(occ2huff ${SRC}) ADD_EXECUTABLE(occ2huff ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(occ2huff ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
TARGET_LINK_LIBRARIES(occ2huff
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
nelmisc)
NL_DEFAULT_PROPS(occ2huff "Ryzom, Tools: occ2huff")
NL_ADD_RUNTIME_FLAGS(occ2huff)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS occ2huff RUNTIME DESTINATION bin COMPONENT tools) INSTALL(TARGETS occ2huff RUNTIME DESTINATION bin COMPONENT tools)

View file

@ -2,8 +2,17 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(phrase_generator ${SRC}) ADD_EXECUTABLE(phrase_generator ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS} ${NELGEORGES_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(phrase_generator ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELGEORGES_LIBRARY})
TARGET_LINK_LIBRARIES(phrase_generator
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
nelmisc
nelgeorges)
NL_DEFAULT_PROPS(phrase_generator "Ryzom, Tools: Phrase Generator")
NL_ADD_RUNTIME_FLAGS(phrase_generator)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS phrase_generator RUNTIME DESTINATION bin COMPONENT tools) INSTALL(TARGETS phrase_generator RUNTIME DESTINATION bin COMPONENT tools)

View file

@ -2,16 +2,19 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(ai_build_wmap ${SRC}) ADD_EXECUTABLE(ai_build_wmap ${SRC})
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/server/src INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
${CMAKE_SOURCE_DIR}/common/src
${LIBXML2_INCLUDE_DIR} TARGET_LINK_LIBRARIES(ai_build_wmap
${NEL_INCLUDE_DIR}) ryzom_gameshare
TARGET_LINK_LIBRARIES(ai_build_wmap ryzom_gameshare ryzom_servershare
server_share ryzom_aishare
ai_share
${PLATFORM_LINKFLAGS} ${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${NELMISC_LIBRARY}) nelmisc)
NL_DEFAULT_PROPS(ai_build_wmap "Ryzom, Services: Entity View Service (EVS)")
NL_ADD_RUNTIME_FLAGS(ai_build_wmap)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS ai_build_wmap RUNTIME DESTINATION bin COMPONENT tools) INSTALL(TARGETS ai_build_wmap RUNTIME DESTINATION bin COMPONENT tools)

View file

@ -2,8 +2,17 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(sheet_random_generator ${SRC}) ADD_EXECUTABLE(sheet_random_generator ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS} ${NELGEORGES_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(sheet_random_generator ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELGEORGES_LIBRARY})
TARGET_LINK_LIBRARIES(sheet_random_generator
${PLATFORM_LINKFLAGS}
${LIBXML2_LIBRARIES}
nelmisc
nelgeorges)
NL_DEFAULT_PROPS(sheet_random_generator "Ryzom, Tools: Sheets Random Generator")
NL_ADD_RUNTIME_FLAGS(sheet_random_generator)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH) IF(WITH_PCH)