|
|
@ -8,7 +8,8 @@ SET(SEVENZIP_LIBRARY "ryzom_sevenzip")
|
|
|
|
|
|
|
|
|
|
|
|
ADD_SUBDIRECTORY(seven_zip)
|
|
|
|
ADD_SUBDIRECTORY(seven_zip)
|
|
|
|
|
|
|
|
|
|
|
|
IF(WITH_RYZOM_PATCH)
|
|
|
|
# Patch should never be enabled on Steam
|
|
|
|
|
|
|
|
IF(WITH_RYZOM_PATCH AND NOT WITH_RYZOM_STEAM)
|
|
|
|
ADD_DEFINITIONS(-DRZ_USE_PATCH)
|
|
|
|
ADD_DEFINITIONS(-DRZ_USE_PATCH)
|
|
|
|
|
|
|
|
|
|
|
|
IF(WITH_RYZOM_CUSTOM_PATCH_SERVER)
|
|
|
|
IF(WITH_RYZOM_CUSTOM_PATCH_SERVER)
|
|
|
@ -74,7 +75,6 @@ IF(APPLE)
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/PkgInfo ${RYZOM_CONTENTS_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/PkgInfo ${RYZOM_CONTENTS_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/ryzom.icns ${RYZOM_RESOURCES_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/ryzom.icns ${RYZOM_RESOURCES_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${CMAKE_SOURCE_DIR}/ryzom/client/client_default.cfg ${RYZOM_RESOURCES_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${CMAKE_SOURCE_DIR}/ryzom/client/client_default.cfg ${RYZOM_RESOURCES_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/installscript_osx.vdf ${RYZOM_OUTPUT_DIR})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IF(RYZOM_DATA_DIR)
|
|
|
|
IF(RYZOM_DATA_DIR)
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -RpX ${RYZOM_DATA_DIR} ${RYZOM_RESOURCES_DIR})
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -RpX ${RYZOM_DATA_DIR} ${RYZOM_RESOURCES_DIR})
|
|
|
@ -102,6 +102,10 @@ IF(APPLE)
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND CODESIGN_ALLOCATE=${CODESIGN_ALLOCATE} codesign -fs "${APPLE_CERTIFICATE}" "${RYZOM_OUTPUT_DIR}" COMMENT "Signing bundle...")
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND CODESIGN_ALLOCATE=${CODESIGN_ALLOCATE} codesign -fs "${APPLE_CERTIFICATE}" "${RYZOM_OUTPUT_DIR}" COMMENT "Signing bundle...")
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IF(WITH_RYZOM_STEAM)
|
|
|
|
|
|
|
|
ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/installscript_osx.vdf ${RYZOM_OUTPUT_DIR})
|
|
|
|
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|