Prevent translation files from being cleaned by Makefile
I am using Qt Creator 4.0.0 along with CMake > 3.4. I am generating translation files thanks to this command: QT5_CREATE_TRANSLATION(${PROJECT_NAME}_TRANSLATIONS_COMPILED ${${PROJECT_NAME}_TRANSLATIONS_SOURCES} ${${PROJECT_NAME}_TRANSLATIONS_FILES}) Each time I build my project, the translation files are either created or updated if they already exist. However, when I clean the project, the ts files are removed. Is there an easy way from CMake or Qt Creator to prevent them from being cleaned?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.