Changed: client_default.cfg and patcher translations installation

This commit is contained in:
kervala 2010-08-12 20:25:53 +02:00
parent ab11ddb805
commit a7f0ee94e8
3 changed files with 16 additions and 1 deletions

View file

@ -1,7 +1,14 @@
ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(data)
ADD_SUBDIRECTORY(patcher)
IF(UNIX AND NOT APPLE) IF(UNIX AND NOT APPLE)
ADD_SUBDIRECTORY(unix) ADD_SUBDIRECTORY(unix)
ENDIF(UNIX AND NOT APPLE) ENDIF(UNIX AND NOT APPLE)
INSTALL(FILES client_default.cfg DESTINATION ${RYZOM_ETC_PREFIX}) IF(RYZOM_SHARE_PREFIX)
CONFIGURE_FILE(client_default.cfg.in "${CMAKE_CURRENT_BINARY_DIR}/client_default.cfg")
INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/client_default.cfg" DESTINATION ${RYZOM_ETC_PREFIX})
ELSE(RYZOM_SHARE_PREFIX)
INSTALL(FILES client_default.cfg DESTINATION ${RYZOM_ETC_PREFIX})
ENDIF(RYZOM_SHARE_PREFIX)

View file

@ -0,0 +1,5 @@
# Uncomment next lines if you want to create gamedev.bnp
#ADD_CUSTOM_COMMAND(OUTPUT "${CMAKE_BINARY_DIR}/share/gamedev.bnp"
# COMMAND bnp_make -p ${CMAKE_CURRENT_SOURCE_DIR}/gamedev ${CMAKE_BINARY_DIR}/share > /dev/null)
#ADD_CUSTOM_TARGET(gamedev ALL DEPENDS "${CMAKE_BINARY_DIR}/share/gamedev.bnp")

View file

@ -0,0 +1,3 @@
FILE(GLOB SRC *.uxt)
INSTALL(FILES ${SRC} DESTINATION "${RYZOM_SHARE_PREFIX}/patcher")