mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: Don't update qtbase_*.ts files
This commit is contained in:
parent
9d85a406d4
commit
9ce9d9c388
1 changed files with 5 additions and 4 deletions
|
@ -4,7 +4,8 @@ FILE(GLOB SRC src/*.cpp src/*.h resources/*.rc)
|
||||||
|
|
||||||
FILE(GLOB CLIENT_CONFIG_HDR src/*.h)
|
FILE(GLOB CLIENT_CONFIG_HDR src/*.h)
|
||||||
FILE(GLOB CLIENT_CONFIG_UIS ui/*.ui)
|
FILE(GLOB CLIENT_CONFIG_UIS ui/*.ui)
|
||||||
FILE(GLOB CLIENT_CONFIG_TRANS translations/*.ts)
|
FILE(GLOB CLIENT_CONFIG_BASE_TRANS translations/qtbase_*.ts)
|
||||||
|
FILE(GLOB CLIENT_CONFIG_TRANS translations/ryzom_configuration_*.ts)
|
||||||
|
|
||||||
CONFIGURE_FILE(translations/translations.qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc COPYONLY)
|
CONFIGURE_FILE(translations/translations.qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc COPYONLY)
|
||||||
SET(CLIENT_CONFIG_RCS resources/resources.qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc )
|
SET(CLIENT_CONFIG_RCS resources/resources.qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc )
|
||||||
|
@ -22,7 +23,7 @@ IF(WITH_QT)
|
||||||
ELSE()
|
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_CONFIG_QM ${CLIENT_CONFIG_UIS} ${SRC} ${CLIENT_CONFIG_TRANS} OPTIONS -I ${CMAKE_CURRENT_SOURCE_DIR})
|
# QT5_CREATE_TRANSLATION(CLIENT_CONFIG_QM ${CLIENT_CONFIG_UIS} ${SRC} ${CLIENT_CONFIG_TRANS} OPTIONS -I ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
QT5_ADD_TRANSLATION(CLIENT_CONFIG_QM ${CLIENT_CONFIG_TRANS})
|
QT5_ADD_TRANSLATION(CLIENT_CONFIG_QM ${CLIENT_CONFIG_TRANS} ${CLIENT_CONFIG_BASE_TRANS})
|
||||||
QT5_ADD_RESOURCES(CLIENT_CONFIG_RC_SRCS ${CLIENT_CONFIG_RCS})
|
QT5_ADD_RESOURCES(CLIENT_CONFIG_RC_SRCS ${CLIENT_CONFIG_RCS})
|
||||||
QT5_WRAP_CPP(CLIENT_CONFIG_MOC_SRC ${CLIENT_CONFIG_HDR})
|
QT5_WRAP_CPP(CLIENT_CONFIG_MOC_SRC ${CLIENT_CONFIG_HDR})
|
||||||
QT5_WRAP_UI(CLIENT_CONFIG_UI_HDRS ${CLIENT_CONFIG_UIS})
|
QT5_WRAP_UI(CLIENT_CONFIG_UI_HDRS ${CLIENT_CONFIG_UIS})
|
||||||
|
@ -31,9 +32,9 @@ ENDIF()
|
||||||
SOURCE_GROUP("Resources" FILES ${CLIENT_CONFIG_RCS})
|
SOURCE_GROUP("Resources" FILES ${CLIENT_CONFIG_RCS})
|
||||||
SOURCE_GROUP("Forms" FILES ${CLIENT_CONFIG_UIS})
|
SOURCE_GROUP("Forms" FILES ${CLIENT_CONFIG_UIS})
|
||||||
SOURCE_GROUP("Generated Files" FILES ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_MOC_SRC})
|
SOURCE_GROUP("Generated Files" FILES ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_MOC_SRC})
|
||||||
SOURCE_GROUP("Translation Files" FILES ${CLIENT_CONFIG_TRANS} )
|
SOURCE_GROUP("Translation Files" FILES ${CLIENT_CONFIG_TRANS} ${CLIENT_CONFIG_BASE_TRANS})
|
||||||
|
|
||||||
ADD_EXECUTABLE(ryzom_configuration_qt WIN32 ${SRC} ${CLIENT_CONFIG_MOC_SRC} ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_RC_SRCS} ${CLIENT_CONFIG_TRANS} ${CLIENT_CONFIG_QM})
|
ADD_EXECUTABLE(ryzom_configuration_qt WIN32 ${SRC} ${CLIENT_CONFIG_MOC_SRC} ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_RC_SRCS} ${CLIENT_CONFIG_TRANS} ${CLIENT_CONFIG_BASE_TRANS} ${CLIENT_CONFIG_QM})
|
||||||
NL_DEFAULT_PROPS(ryzom_configuration_qt "Ryzom, Tools: Ryzom Configuration Qt" )
|
NL_DEFAULT_PROPS(ryzom_configuration_qt "Ryzom, Tools: Ryzom Configuration Qt" )
|
||||||
NL_ADD_RUNTIME_FLAGS( ryzom_configuration_qt )
|
NL_ADD_RUNTIME_FLAGS( ryzom_configuration_qt )
|
||||||
NL_ADD_LIB_SUFFIX( ryzom_configuration_qt )
|
NL_ADD_LIB_SUFFIX( ryzom_configuration_qt )
|
||||||
|
|
Loading…
Reference in a new issue