2010-05-06 00:08:41 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#Platform specifics
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common/src )
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common )
|
2010-09-16 01:30:35 +00:00
|
|
|
SET(RZ_SERVER_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/server/src)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_SUBDIRECTORY(common)
|
2016-01-04 14:33:55 +00:00
|
|
|
ADD_SUBDIRECTORY(tools)
|
2010-05-12 16:52:28 +00:00
|
|
|
|
2010-09-02 19:53:33 +00:00
|
|
|
IF(WITH_RYZOM_CLIENT)
|
2013-02-19 16:04:40 +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)
|
|
|
|
|
2010-05-12 16:52:28 +00:00
|
|
|
ADD_SUBDIRECTORY(client)
|
2013-07-19 16:11:31 +00:00
|
|
|
ELSEIF(WITH_RYZOM_TOOLS)
|
|
|
|
# Need clientsheets lib for sheets packer tool
|
|
|
|
ADD_SUBDIRECTORY(client)
|
2016-01-04 14:33:55 +00:00
|
|
|
ENDIF()
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2013-09-29 18:33:07 +00:00
|
|
|
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
|
2013-07-19 16:11:31 +00:00
|
|
|
# Need servershare for build packed collision tool
|
|
|
|
# Need aishare for build wmap tool
|
2013-09-29 18:33:07 +00:00
|
|
|
FIND_PACKAGE(MySQL REQUIRED)
|
2013-07-19 16:11:31 +00:00
|
|
|
ADD_SUBDIRECTORY(server)
|
2013-09-29 18:33:07 +00:00
|
|
|
ENDIF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
|