mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Changed: Allow to compile Ryzom Installer alone
This commit is contained in:
parent
9e18fa8a43
commit
eccbb211e4
4 changed files with 18 additions and 19 deletions
|
@ -8,17 +8,7 @@ SET(RZ_SERVER_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/server/src)
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(common)
|
ADD_SUBDIRECTORY(common)
|
||||||
ADD_SUBDIRECTORY(tools)
|
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)
|
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)
|
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
|
||||||
# Need servershare for build packed collision tool
|
# Need servershare for build packed collision tool
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# Need clientsheets lib for sheets packer tool
|
# Need clientsheets lib for sheets packer tool
|
||||||
|
# Need seven_zip for patch_gen and ryzom_installer
|
||||||
ADD_SUBDIRECTORY(src)
|
ADD_SUBDIRECTORY(src)
|
||||||
|
|
||||||
IF(WITH_RYZOM_CLIENT)
|
IF(WITH_RYZOM_CLIENT)
|
||||||
|
|
|
@ -1,10 +1,18 @@
|
||||||
|
IF(WITH_RYZOM_TOOLS OR WITH_RYZOM_CLIENT)
|
||||||
# Need clientsheets lib for sheets packer tool
|
# Need clientsheets lib for sheets packer tool
|
||||||
ADD_SUBDIRECTORY(client_sheets)
|
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
|
# Need seven_zip lib for patch_gen tool
|
||||||
ADD_SUBDIRECTORY(seven_zip)
|
ADD_SUBDIRECTORY(seven_zip)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(WITH_RYZOM_CLIENT)
|
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)
|
IF(WITH_RYZOM_PATCH)
|
||||||
ADD_DEFINITIONS(-DRZ_USE_PATCH)
|
ADD_DEFINITIONS(-DRZ_USE_PATCH)
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,13 @@ IF(WITH_RYZOM_CLIENT)
|
||||||
|
|
||||||
IF(WITH_QT OR WITH_QT5)
|
IF(WITH_QT OR WITH_QT5)
|
||||||
ADD_SUBDIRECTORY(client_config_qt)
|
ADD_SUBDIRECTORY(client_config_qt)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(WITH_RYZOM_INSTALLER)
|
ENDIF()
|
||||||
|
|
||||||
|
IF(WITH_QT5 AND WITH_RYZOM_INSTALLER)
|
||||||
ADD_SUBDIRECTORY(ryzom_installer)
|
ADD_SUBDIRECTORY(ryzom_installer)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
IF(WITH_RYZOM_TOOLS)
|
IF(WITH_RYZOM_TOOLS)
|
||||||
ADD_SUBDIRECTORY(r2_islands_textures)
|
ADD_SUBDIRECTORY(r2_islands_textures)
|
||||||
|
|
Loading…
Reference in a new issue