[CMake] QT4_CREATE_TRANSLATION delete source ts files during clean

Stephen Kelly steveire at gmail.com
Wed Feb 26 16:08:17 EST 2014


Anatoly Shirokov wrote:

> The translation file is usual source file, it is not binary artifact.

I didn't say it was a binary artifact. It's a buildsystem artifact created 
by your buildsystem.

> The only difference is that I have to support them in up to date state
> with the lupdate utility.

Yes.

> I want to invoke lupdate automatically during
> build and after that commit updated translation files to use them by
> translator group.

That seems fine.

> What's wrong with such approach?

Maybe the details of your approach are too simple. If you commit the  
translation files resulting from your build to your repo, then how did you 
lose work?

Thanks,

Steve.





More information about the CMake mailing list