Changed: Allow to compile Ryzom Installer alone

This commit is contained in:
kervala 2016-06-12 14:13:42 +02:00
parent 9e18fa8a43
commit eccbb211e4
4 changed files with 18 additions and 19 deletions

View file

@ -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()
ADD_SUBDIRECTORY(client)
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
# Need servershare for build packed collision tool

View file

@ -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)

View file

@ -1,10 +1,18 @@
# Need clientsheets lib for sheets packer tool
ADD_SUBDIRECTORY(client_sheets)
IF(WITH_RYZOM_TOOLS OR WITH_RYZOM_CLIENT)
# Need clientsheets lib for sheets packer tool
ADD_SUBDIRECTORY(client_sheets)
ENDIF()
# Need seven_zip lib for patch_gen tool
ADD_SUBDIRECTORY(seven_zip)
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)

View file

@ -3,14 +3,14 @@ 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()
ENDIF()
IF(WITH_QT5 AND WITH_RYZOM_INSTALLER)
ADD_SUBDIRECTORY(ryzom_installer)
ENDIF()
IF(WITH_RYZOM_TOOLS)
ADD_SUBDIRECTORY(r2_islands_textures)
ENDIF()