1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/nel/3rdparty/seven_zip)
3 SET(MAIN_SRC patch_gen_common.cpp patch_gen_main.cpp patch_gen_main.h patch_gen.rc)
4 SET(SERVICE_SRC patch_gen_common.cpp patch_gen_service.cpp patch_gen_service.h patch_gen_service.rc)
6 ADD_EXECUTABLE(patch_gen ${MAIN_SRC} ${RECS})
7 TARGET_LINK_LIBRARIES(patch_gen nel_sevenzip ryzom_gameshare nelmisc nelnet nelligo nelgeorges)
8 NL_DEFAULT_PROPS(patch_gen "Ryzom, Tools: Patch Generator")
9 NL_ADD_RUNTIME_FLAGS(patch_gen)
11 ADD_EXECUTABLE(patch_gen_service WIN32 ${SERVICE_SRC} ${RECS})
12 TARGET_LINK_LIBRARIES(patch_gen_service nel_sevenzip ryzom_gameshare nelmisc nelnet nelligo nelgeorges)
13 NL_DEFAULT_PROPS(patch_gen_service "Ryzom, Tools: Patch Generator Service")
14 NL_ADD_RUNTIME_FLAGS(patch_gen_service)
16 INSTALL(TARGETS patch_gen RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
17 INSTALL(TARGETS patch_gen_service RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)