Changed: Don't update Qt translations
This commit is contained in:
parent
04e3a7255b
commit
c2992abb27
1 changed files with 5 additions and 4 deletions
|
@ -4,7 +4,8 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/ryzom/client/src/seven_zip ${ZLIB_INCLUD
|
||||||
FILE(GLOB SRC src/*.cpp src/*.h res/*.rc)
|
FILE(GLOB SRC src/*.cpp src/*.h res/*.rc)
|
||||||
FILE(GLOB CLIENT_INSTALL_HDR src/*.h)
|
FILE(GLOB CLIENT_INSTALL_HDR src/*.h)
|
||||||
FILE(GLOB CLIENT_INSTALL_UIS ui/*.ui)
|
FILE(GLOB CLIENT_INSTALL_UIS ui/*.ui)
|
||||||
FILE(GLOB CLIENT_INSTALL_TRANS translations/*.ts)
|
FILE(GLOB CLIENT_INSTALL_BASE_TRANS translations/qtbase*.ts)
|
||||||
|
FILE(GLOB CLIENT_INSTALL_TRANS translations/ryzom_installer_*.ts)
|
||||||
FILE(GLOB CLIENT_INSTALL_RCS res/*.qrc)
|
FILE(GLOB CLIENT_INSTALL_RCS res/*.qrc)
|
||||||
|
|
||||||
CONFIGURE_FILE(translations/translations.qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc COPYONLY)
|
CONFIGURE_FILE(translations/translations.qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc COPYONLY)
|
||||||
|
@ -28,7 +29,7 @@ ELSE()
|
||||||
|
|
||||||
# uncomment this line if you want to update original translations
|
# uncomment this line if you want to update original translations
|
||||||
# QT5_CREATE_TRANSLATION(CLIENT_INSTALL_Q ${CLIENT_INSTALL_UIS} ${SRC} ${CLIENT_INSTALL_TRANS} OPTIONS -I ${CMAKE_CURRENT_SOURCE_DIR})
|
# QT5_CREATE_TRANSLATION(CLIENT_INSTALL_Q ${CLIENT_INSTALL_UIS} ${SRC} ${CLIENT_INSTALL_TRANS} OPTIONS -I ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
QT5_ADD_TRANSLATION(CLIENT_INSTALL_QM ${CLIENT_INSTALL_TRANS})
|
QT5_ADD_TRANSLATION(CLIENT_INSTALL_QM ${CLIENT_INSTALL_TRANS} ${CLIENT_INSTALL_BASE_TRANS})
|
||||||
QT5_ADD_RESOURCES(CLIENT_INSTALL_RC_SRCS ${CLIENT_INSTALL_RCS})
|
QT5_ADD_RESOURCES(CLIENT_INSTALL_RC_SRCS ${CLIENT_INSTALL_RCS})
|
||||||
QT5_WRAP_CPP(CLIENT_INSTALL_MOC_SRC ${CLIENT_INSTALL_HDR})
|
QT5_WRAP_CPP(CLIENT_INSTALL_MOC_SRC ${CLIENT_INSTALL_HDR})
|
||||||
QT5_WRAP_UI(CLIENT_INSTALL_UI_HDRS ${CLIENT_INSTALL_UIS})
|
QT5_WRAP_UI(CLIENT_INSTALL_UI_HDRS ${CLIENT_INSTALL_UIS})
|
||||||
|
@ -38,9 +39,9 @@ SOURCE_GROUP("Source" FILES ${SRC})
|
||||||
SOURCE_GROUP("Resources" FILES ${CLIENT_INSTALL_RCS})
|
SOURCE_GROUP("Resources" FILES ${CLIENT_INSTALL_RCS})
|
||||||
SOURCE_GROUP("Forms" FILES ${CLIENT_INSTALL_UIS})
|
SOURCE_GROUP("Forms" FILES ${CLIENT_INSTALL_UIS})
|
||||||
SOURCE_GROUP("Generated Files" FILES ${CLIENT_INSTALL_UI_HDRS} ${CLIENT_INSTALL_MOC_SRC} ${CLIENT_INSTALL_RC_SRCS})
|
SOURCE_GROUP("Generated Files" FILES ${CLIENT_INSTALL_UI_HDRS} ${CLIENT_INSTALL_MOC_SRC} ${CLIENT_INSTALL_RC_SRCS})
|
||||||
SOURCE_GROUP("Translation Files" FILES ${CLIENT_INSTALL_TRANS})
|
SOURCE_GROUP("Translation Files" FILES ${CLIENT_INSTALL_TRANS} ${CLIENT_INSTALL_BASE_TRANS})
|
||||||
|
|
||||||
ADD_EXECUTABLE(ryzom_installer_qt WIN32 ${SRC} ${CLIENT_INSTALL_MOC_SRC} ${CLIENT_INSTALL_UI_HDRS} ${CLIENT_INSTALL_RC_SRCS} ${CLIENT_INSTALL_TRANS} ${CLIENT_INSTALL_QM})
|
ADD_EXECUTABLE(ryzom_installer_qt WIN32 ${SRC} ${CLIENT_INSTALL_MOC_SRC} ${CLIENT_INSTALL_UI_HDRS} ${CLIENT_INSTALL_RC_SRCS} ${CLIENT_INSTALL_TRANS} ${CLIENT_INSTALL_BASE_TRANS} ${CLIENT_INSTALL_QM})
|
||||||
NL_DEFAULT_PROPS(ryzom_installer_qt "Ryzom, Tools: Ryzom Installer" )
|
NL_DEFAULT_PROPS(ryzom_installer_qt "Ryzom, Tools: Ryzom Installer" )
|
||||||
NL_ADD_RUNTIME_FLAGS(ryzom_installer_qt)
|
NL_ADD_RUNTIME_FLAGS(ryzom_installer_qt)
|
||||||
NL_ADD_LIB_SUFFIX(ryzom_installer_qt)
|
NL_ADD_LIB_SUFFIX(ryzom_installer_qt)
|
||||||
|
|
Loading…
Reference in a new issue