GZipping files at build time
neundorf at kde.org
Mon Feb 20 17:08:57 UTC 2012
On Monday 20 February 2012, Parker Coates wrote:
> Hello Build System Experts,
> Within the KDEGames project we would like to gzip compress some files
> at build-time, and I am coming to you folks for suggestions.
> Can CMake do this for us? (I don't think so, but I'm not certain.
> Maybe CPack?) Is any other part of KDE currently gzipping at
> build-time? If so, can we reuse this solution?
What do you want to compress ? Just individual files or directories or ?
> The obvious approach is to add a build-time dependency on the gzip
> executable, but this might be a pain on non-Unix platforms. Of course,
Try cmake -E tar ...
This exists for this purpose.
More information about the Kde-buildsystem