khanat-code-old/code/ryzom/CMakeLists.txt

33 lines
946 B
Text
Raw Normal View History

2013-02-18 12:22:03 +00:00
#-----------------------------------------------------------------------------
#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)
ADD_SUBDIRECTORY(common)
IF(WITH_RYZOM_CLIENT)
2013-02-22 03:15:10 +00:00
IF(NOT WITH_GUI)
MESSAGE( FATAL_ERROR "The client cannot be built without the NeL GUI Library (WITH_GUI)")
ENDIF(NOT WITH_GUI)
2014-04-19 19:53:29 +00:00
ADD_SUBDIRECTORY(client)
ELSEIF(WITH_RYZOM_TOOLS)
# Need clientsheets lib for sheets packer tool
2013-02-18 12:22:03 +00:00
ADD_SUBDIRECTORY(client)
ENDIF(WITH_RYZOM_CLIENT)
IF(WITH_RYZOM_TOOLS)
ADD_SUBDIRECTORY(tools)
ENDIF(WITH_RYZOM_TOOLS)
2014-04-19 19:53:29 +00:00
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
# Need servershare for build packed collision tool
# Need aishare for build wmap tool
2013-02-18 12:22:03 +00:00
FIND_PACKAGE(MySQL REQUIRED)
ADD_SUBDIRECTORY(server)
2014-04-19 19:53:29 +00:00
ENDIF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)