Hello all,<br><br>I&#39;m creating a Qt4 based project using Cmake. I have some translations files which are gererated with the command:<br>ADD_CUSTOM_COMMAND(OUTPUT ${tsfiles}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMMAND ${QT_LUPDATE_EXECUTABLE}
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARGS ${CMAKE_CURRENT_SOURCE_DIR} -ts ${tsfiles}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEPENDS ${sources}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )
<br><br>where &#39;tsfiles&#39; are the translations files and &#39;sources&#39; are the source files (.cpp and .h) from which these files are generated. But the translations files are update with the translation by Qt Linguist. As I realize, when I run &#39;make clean&#39; &#39;tsfiles&#39; are all deleted, but this is unwanted since it was the translations already made shouldn&#39;t be lost. Is there any way to remove &#39;tsfiles&#39; from the clean list?
<br><br>thank you,<br>brĂ¡ulio<br>