[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Re: GZipping files at build time
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2012-02-20 8:27:30
Message-ID: 20120220082730.GA6417 () trinity ! apaku ! dnsalias ! org
[Download RAW message or body]
On 19.02.12 22:36:47, 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?
Yes it can, using a custom command. KDevPlatform provides a macro that
uses this to zip up application-template directories:
https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/master/entry/cmake/modules/KDevPlatformMacros.cmake
That macro basically zips up a directory. The downside of it currently
is that it requires manual cmake-re-run when the directory contents
change. This could be fixed by replacing the foreach-loop and the
file(GLOB) with manually listing the files.
The script currently depends on zip or tar being in PATH, but this
hasn't been a problem for us so far.
Andreas
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic