2012-07-23 17:26:38 +00:00
|
|
|
SET(MAIN_SRC patch_gen_common.cpp patch_gen_main.cpp patch_gen_main.h)
|
|
|
|
SET(SERVICE_SRC patch_gen_common.cpp patch_gen_service.cpp patch_gen_service.h)
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(patch_gen ${MAIN_SRC})
|
|
|
|
TARGET_LINK_LIBRARIES(patch_gen ryzom_gameshare nelmisc nelnet nelligo nelgeorges)
|
|
|
|
NL_DEFAULT_PROPS(patch_gen "Ryzom, Tools: Patch Generator")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(patch_gen)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(patch_gen_service WIN32 ${SERVICE_SRC})
|
|
|
|
TARGET_LINK_LIBRARIES(patch_gen_service ryzom_gameshare nelmisc nelnet nelligo nelgeorges)
|
2012-09-27 20:17:47 +00:00
|
|
|
NL_DEFAULT_PROPS(patch_gen_service "Ryzom, Tools: Patch Generator Service")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(patch_gen_service)
|
2012-07-23 17:26:38 +00:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2012-09-27 20:17:47 +00:00
|
|
|
INSTALL(TARGETS patch_gen RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
|
|
|
|
INSTALL(TARGETS patch_gen_service RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
|