2010-05-06 00:08:41 +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)
|
|
|
|
|
2010-09-03 13:07:47 +00:00
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_EXECUTABLE(patch_gen ${MAIN_SRC})
|
2010-09-04 16:34:09 +00:00
|
|
|
TARGET_LINK_LIBRARIES(patch_gen ryzom_gameshare ${PLATFORM_LINKFLAGS} nelmisc nelnet nelligo nelgeorges)
|
|
|
|
NL_DEFAULT_PROPS(patch_gen "Ryzom, Tools: Patch Generator")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(patch_gen)
|
2010-09-03 13:07:47 +00:00
|
|
|
|
2010-09-04 16:34:09 +00:00
|
|
|
ADD_EXECUTABLE(patch_gen_service WIN32 ${SERVICE_SRC})
|
|
|
|
TARGET_LINK_LIBRARIES(patch_gen_service ryzom_gameshare ${PLATFORM_LINKFLAGS} nelmisc nelnet nelligo nelgeorges)
|
|
|
|
NL_DEFAULT_PROPS(patch_gen_service "Ryzom, Tools: Patch Generator Service")
|
2010-09-03 13:07:47 +00:00
|
|
|
NL_ADD_RUNTIME_FLAGS(patch_gen_service)
|
|
|
|
|
2010-05-06 00:08:41 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
INSTALL(TARGETS patch_gen RUNTIME DESTINATION bin COMPONENT tools)
|
|
|
|
INSTALL(TARGETS patch_gen_service RUNTIME DESTINATION bin COMPONENT tools)
|