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

29 lines
811 B
Text
Raw Normal View History

2015-12-18 12:02:31 +00:00
#-----------------------------------------------------------------------------
#Platform specifics
2016-01-04 14:41:29 +00:00
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common/src)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common)
2015-12-18 12:02:31 +00:00
SET(RZ_SERVER_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/server/src)
ADD_SUBDIRECTORY(common)
2016-01-04 14:41:29 +00:00
ADD_SUBDIRECTORY(tools)
2015-12-18 12:02:31 +00:00
IF(WITH_RYZOM_CLIENT)
IF(NOT WITH_GUI)
MESSAGE( FATAL_ERROR "The client cannot be built without the NeL GUI Library (WITH_GUI)")
2016-01-04 14:41:29 +00:00
ENDIF()
2015-12-18 12:02:31 +00:00
ADD_SUBDIRECTORY(client)
ELSEIF(WITH_RYZOM_TOOLS)
# Need clientsheets lib for sheets packer tool
ADD_SUBDIRECTORY(client)
2016-01-04 14:41:29 +00:00
ENDIF()
2015-12-18 12:02:31 +00:00
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
# Need servershare for build packed collision tool
# Need aishare for build wmap tool
FIND_PACKAGE(MySQL REQUIRED)
ADD_SUBDIRECTORY(server)
2016-01-04 14:41:29 +00:00
ENDIF()