Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
because of get_filename_component within Qt5LinguistToolsMacros.cmake hydrogen.xy.ts files where all generating the same rule named hydrogen.qm
- Loading branch information
Showing
19 changed files
with
4 additions
and
114 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
# make clean does not delete *.ts and *.qm files | ||
SET_DIRECTORY_PROPERTIES(PROPERTIES CLEAN_NO_CUSTOM 1) | ||
|
||
FILE(GLOB TRANSLATION_FILES ${CMAKE_CURRENT_LIST_DIR}/*.ts) | ||
FILE(GLOB TS_FILES ${CMAKE_CURRENT_LIST_DIR}/*.ts) | ||
|
||
INCLUDE(Qt5LinguistToolsMacros) | ||
|
||
#QT5_CREATE_TRANSLATION(TRANSLATION_MESSAGES ${FILES_TO_TRANSLATE} ${TRANSLATION_FILES}) | ||
QT5_ADD_TRANSLATION(TRANSLATION_QM ${TRANSLATION_FILES}) | ||
#ADD_CUSTOM_TARGET(translations_update DEPENDS ${TRANSLATION_MESSAGES}) | ||
ADD_CUSTOM_TARGET(translations ALL DEPENDS ${TRANSLATION_QM}) | ||
INSTALL(FILES ${TRANSLATION_QM} DESTINATION "${H2_SYS_PATH}/data/i18n") | ||
QT5_ADD_TRANSLATION(QM_FILES ${TS_FILES}) | ||
ADD_CUSTOM_TARGET(translations ALL DEPENDS ${QM_FILES}) | ||
INSTALL(FILES ${QM_FILES} DESTINATION "${H2_SYS_PATH}/data/i18n") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.