I use QT5_CREATE_TRANSLATION to keep my ts file in actual state. It is very useful. But when I call make clean my ts files are cleaned also. It is because of
Qt Code:
add_custom_command(OUTPUT ${_ts_file} COMMAND ${Qt5_LUPDATE_EXECUTABLE} ARGS ${_lupdate_options} "@${_ts_lst_file}" -ts ${_ts_file} DEPENDS ${_my_sources} ${_ts_lst_file} VERBATIM)To copy to clipboard, switch view to plain text mode
inside the QT5_CREATE_TRANSLATION function.
Is there way to prevent ts file deletion?
Bookmarks