Changed: Allow to compile Ryzom Installer alone

--HG--
branch : develop
feature/pipeline-tools
kervala 9 years ago
parent 1b87b12c19
commit 389e5712df

@ -8,17 +8,7 @@ SET(RZ_SERVER_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/server/src)
ADD_SUBDIRECTORY(common)
ADD_SUBDIRECTORY(tools)
IF(WITH_RYZOM_CLIENT)
IF(NOT WITH_GUI)
MESSAGE( FATAL_ERROR "The client cannot be built without the NeL GUI Library (WITH_GUI)")
ENDIF()
ADD_SUBDIRECTORY(client)
ELSEIF(WITH_RYZOM_TOOLS)
# Need clientsheets lib for sheets packer tool
ADD_SUBDIRECTORY(client)
ENDIF()
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
# Need servershare for build packed collision tool

@ -1,4 +1,5 @@
# Need clientsheets lib for sheets packer tool
# Need seven_zip for patch_gen and ryzom_installer
ADD_SUBDIRECTORY(src)
IF(WITH_RYZOM_CLIENT)

@ -1,10 +1,18 @@
IF(WITH_RYZOM_TOOLS OR WITH_RYZOM_CLIENT)
# Need clientsheets lib for sheets packer tool
ADD_SUBDIRECTORY(client_sheets)
ENDIF()
IF(WITH_RYZOM_TOOLS OR WITH_RYZOM_CLIENT OR WITH_RYZOM_INSTALLER)
# Need seven_zip lib for patch_gen tool
ADD_SUBDIRECTORY(seven_zip)
ENDIF()
IF(WITH_RYZOM_CLIENT)
IF(NOT WITH_GUI)
MESSAGE(FATAL_ERROR "The client cannot be built without the NeL GUI Library (WITH_GUI)")
ENDIF()
IF(WITH_RYZOM_PATCH)
ADD_DEFINITIONS(-DRZ_USE_PATCH)

@ -3,12 +3,12 @@ IF(WITH_RYZOM_CLIENT)
IF(WITH_QT OR WITH_QT5)
ADD_SUBDIRECTORY(client_config_qt)
IF(WITH_RYZOM_INSTALLER)
ADD_SUBDIRECTORY(ryzom_installer)
ENDIF()
ENDIF()
IF(WITH_QT5 AND WITH_RYZOM_INSTALLER)
ADD_SUBDIRECTORY(ryzom_installer)
ENDIF()
IF(WITH_RYZOM_TOOLS)

Loading…
Cancel
Save