From 39890b7fe050632abe9b88cc6d7ce92e8707d024 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 12 Aug 2010 20:25:53 +0200 Subject: [PATCH] Changed: client_default.cfg and patcher translations installation --- code/ryzom/client/CMakeLists.txt | 9 ++++++++- code/ryzom/client/data/CMakeLists.txt | 5 +++++ code/ryzom/client/patcher/CMakeLists.txt | 3 +++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 code/ryzom/client/data/CMakeLists.txt create mode 100644 code/ryzom/client/patcher/CMakeLists.txt diff --git a/code/ryzom/client/CMakeLists.txt b/code/ryzom/client/CMakeLists.txt index 642244536..14475021e 100644 --- a/code/ryzom/client/CMakeLists.txt +++ b/code/ryzom/client/CMakeLists.txt @@ -1,7 +1,14 @@ ADD_SUBDIRECTORY(src) +ADD_SUBDIRECTORY(data) +ADD_SUBDIRECTORY(patcher) IF(UNIX AND NOT APPLE) ADD_SUBDIRECTORY(unix) 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) diff --git a/code/ryzom/client/data/CMakeLists.txt b/code/ryzom/client/data/CMakeLists.txt new file mode 100644 index 000000000..ffd3a3267 --- /dev/null +++ b/code/ryzom/client/data/CMakeLists.txt @@ -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") diff --git a/code/ryzom/client/patcher/CMakeLists.txt b/code/ryzom/client/patcher/CMakeLists.txt new file mode 100644 index 000000000..3b8b89a3d --- /dev/null +++ b/code/ryzom/client/patcher/CMakeLists.txt @@ -0,0 +1,3 @@ +FILE(GLOB SRC *.uxt) + +INSTALL(FILES ${SRC} DESTINATION "${RYZOM_SHARE_PREFIX}/patcher")