mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 09:28:45 +00:00
Fixed: Compile crash_report and ryzom_configuration if WITH_RYZOM_CLIENT is set
--HG-- branch : develop
This commit is contained in:
parent
fc951a24ce
commit
7ebe3088bb
9 changed files with 75 additions and 65 deletions
|
@ -104,6 +104,7 @@ IF(WIN32)
|
|||
ENDIF(WITH_MFC)
|
||||
ENDIF(WIN32)
|
||||
|
||||
FIND_PACKAGE(ZLIB REQUIRED)
|
||||
FIND_PACKAGE(LibXml2 REQUIRED)
|
||||
FIND_PACKAGE(PNG REQUIRED)
|
||||
FIND_PACKAGE(GIF)
|
||||
|
@ -231,7 +232,7 @@ ENDIF(WITH_SNOWBALLS)
|
|||
|
||||
IF(WITH_TOOLS)
|
||||
ADD_SUBDIRECTORY(tool)
|
||||
ENDIF(WITH_TOOLS)
|
||||
ENDIF()
|
||||
|
||||
IF(WITH_STUDIO)
|
||||
ADD_SUBDIRECTORY(studio)
|
||||
|
|
|
@ -64,18 +64,12 @@ IF(WITH_INSTALL_LIBRARIES)
|
|||
ENDIF(UNIX)
|
||||
|
||||
ADD_SUBDIRECTORY(include)
|
||||
ENDIF(WITH_INSTALL_LIBRARIES)
|
||||
ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY(src)
|
||||
|
||||
IF(WITH_NEL_SAMPLES)
|
||||
ADD_SUBDIRECTORY(samples)
|
||||
ENDIF(WITH_NEL_SAMPLES)
|
||||
ENDIF()
|
||||
|
||||
# Allow to compile only max plugins without other tools.
|
||||
IF(WITH_NEL_TOOLS OR WITH_NEL_MAXPLUGIN)
|
||||
IF(WITH_NEL_TOOLS)
|
||||
FIND_PACKAGE(Squish)
|
||||
ENDIF(WITH_NEL_TOOLS)
|
||||
ADD_SUBDIRECTORY(tools)
|
||||
ENDIF(WITH_NEL_TOOLS OR WITH_NEL_MAXPLUGIN)
|
||||
ADD_SUBDIRECTORY(tools)
|
||||
|
|
|
@ -66,15 +66,17 @@ IF(WITH_NEL_TOOLS AND WITH_3D)
|
|||
ADD_SUBDIRECTORY(object_viewer_widget)
|
||||
ENDIF(WITH_QT)
|
||||
|
||||
IF(WITH_NEL_TOOLS)
|
||||
FIND_PACKAGE(Squish)
|
||||
ENDIF()
|
||||
|
||||
IF(SQUISH_FOUND)
|
||||
ADD_SUBDIRECTORY(s3tc_compressor_lib)
|
||||
ADD_SUBDIRECTORY(panoply_maker)
|
||||
ADD_SUBDIRECTORY(tga_2_dds)
|
||||
ADD_SUBDIRECTORY(hls_bank_maker)
|
||||
ENDIF(SQUISH_FOUND)
|
||||
ENDIF()
|
||||
|
||||
#crash_log_analyser
|
||||
#shapes_exporter
|
||||
|
||||
ENDIF()
|
||||
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
# Don't add other subdirectories if only max plugins are selected.
|
||||
ADD_SUBDIRECTORY(misc)
|
||||
|
||||
IF(WITH_NEL_TOOLS)
|
||||
ADD_SUBDIRECTORY(misc)
|
||||
ADD_SUBDIRECTORY(memory)
|
||||
ENDIF(WITH_NEL_TOOLS)
|
||||
|
||||
# Max plugins are under the 3d directory as well.
|
||||
ADD_SUBDIRECTORY(3d)
|
||||
# Allow to compile only max plugins without other tools.
|
||||
IF(WITH_NEL_TOOLS OR WITH_NEL_MAXPLUGIN)
|
||||
ADD_SUBDIRECTORY(3d)
|
||||
ENDIF()
|
||||
|
||||
# Don't add other subdirectories if only max plugins are selected.
|
||||
IF(WITH_NEL_TOOLS)
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
SUBDIRS(bnp_make disp_sheet_id extract_filename lock make_sheet_id xml_packer)
|
||||
|
||||
# always compile crash report
|
||||
IF(WITH_QT OR WITH_QT5)
|
||||
ADD_SUBDIRECTORY(words_dic_qt)
|
||||
ADD_SUBDIRECTORY(message_box_qt)
|
||||
ADD_SUBDIRECTORY(crash_report)
|
||||
ENDIF()
|
||||
|
||||
IF(WIN32)
|
||||
IF(WITH_NEL_TOOLS)
|
||||
SUBDIRS(bnp_make disp_sheet_id extract_filename lock make_sheet_id xml_packer)
|
||||
|
||||
IF(WITH_QT OR WITH_QT5)
|
||||
ADD_SUBDIRECTORY(words_dic_qt)
|
||||
ADD_SUBDIRECTORY(message_box_qt)
|
||||
ENDIF()
|
||||
|
||||
IF(WIN32)
|
||||
ADD_SUBDIRECTORY(exec_timeout)
|
||||
ADD_SUBDIRECTORY(message_box)
|
||||
ADD_SUBDIRECTORY(multi_cd_setup_fix)
|
||||
|
@ -18,6 +23,7 @@ IF(WIN32)
|
|||
ADD_SUBDIRECTORY(log_analyser_plug_ins)
|
||||
ADD_SUBDIRECTORY(words_dic)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY(probe_timers)
|
||||
ADD_SUBDIRECTORY(probe_timers)
|
||||
ENDIF()
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#-----------------------------------------------------------------------------
|
||||
#Platform specifics
|
||||
|
||||
FIND_PACKAGE(ZLIB)
|
||||
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common/src )
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common )
|
||||
SET(RZ_SERVER_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/server/src)
|
||||
|
@ -20,9 +18,7 @@ ELSEIF(WITH_RYZOM_TOOLS)
|
|||
ADD_SUBDIRECTORY(client)
|
||||
ENDIF(WITH_RYZOM_CLIENT)
|
||||
|
||||
IF(WITH_RYZOM_TOOLS)
|
||||
ADD_SUBDIRECTORY(tools)
|
||||
ENDIF(WITH_RYZOM_TOOLS)
|
||||
ADD_SUBDIRECTORY(tools)
|
||||
|
||||
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
|
||||
# Need servershare for build packed collision tool
|
||||
|
|
|
@ -1,30 +1,32 @@
|
|||
ADD_SUBDIRECTORY(skill_extractor)
|
||||
ADD_SUBDIRECTORY(make_alias_file)
|
||||
ADD_SUBDIRECTORY(make_anim_by_race)
|
||||
ADD_SUBDIRECTORY(make_anim_melee_impact)
|
||||
ADD_SUBDIRECTORY(pd_parser)
|
||||
ADD_SUBDIRECTORY(assoc_mem)
|
||||
ADD_SUBDIRECTORY(leveldesign)
|
||||
IF(WITH_RYZOM_TOOLS)
|
||||
ADD_SUBDIRECTORY(skill_extractor)
|
||||
ADD_SUBDIRECTORY(make_alias_file)
|
||||
ADD_SUBDIRECTORY(make_anim_by_race)
|
||||
ADD_SUBDIRECTORY(make_anim_melee_impact)
|
||||
ADD_SUBDIRECTORY(pd_parser)
|
||||
ADD_SUBDIRECTORY(assoc_mem)
|
||||
ADD_SUBDIRECTORY(leveldesign)
|
||||
|
||||
IF(WITH_LIGO)
|
||||
IF(WITH_LIGO)
|
||||
ADD_SUBDIRECTORY(translation_tools)
|
||||
ENDIF(WITH_LIGO)
|
||||
ENDIF()
|
||||
|
||||
IF(WITH_NET)
|
||||
IF(WITH_NET)
|
||||
ADD_SUBDIRECTORY(stats_scan)
|
||||
ADD_SUBDIRECTORY(pdr_util)
|
||||
ADD_SUBDIRECTORY(patch_gen)
|
||||
|
||||
IF(WIN32)
|
||||
ADD_SUBDIRECTORY(sheets_packer_shard)
|
||||
ENDIF(WIN32)
|
||||
ENDIF(WITH_NET)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF(WITH_LIGO AND WITH_NET)
|
||||
IF(WITH_LIGO AND WITH_NET)
|
||||
ADD_SUBDIRECTORY(sheets_packer)
|
||||
ENDIF(WITH_LIGO AND WITH_NET)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY(client)
|
||||
|
||||
ADD_SUBDIRECTORY(server)
|
||||
|
||||
# Old stuff that doesn't compile anymore.
|
||||
|
|
|
@ -6,4 +6,6 @@ IF(WITH_RYZOM_CLIENT)
|
|||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY(r2_islands_textures)
|
||||
IF(WITH_RYZOM_TOOLS)
|
||||
ADD_SUBDIRECTORY(r2_islands_textures)
|
||||
ENDIF()
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
IF(WITH_LIGO)
|
||||
IF(WITH_RYZOM_TOOLS)
|
||||
IF(WITH_LIGO)
|
||||
ADD_SUBDIRECTORY(ai_build_wmap)
|
||||
ENDIF(WITH_LIGO)
|
||||
IF(WITH_3D)
|
||||
ENDIF()
|
||||
|
||||
IF(WITH_3D)
|
||||
ADD_SUBDIRECTORY(build_world_packed_col)
|
||||
ENDIF(WITH_3D)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
# Not done yet.
|
||||
#admin
|
||||
|
|
Loading…
Reference in a new issue