[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: GZipping files at build time
From:       Parker Coates <parker.coates () kdemail ! net>
Date:       2012-02-20 17:26:30
Message-ID: CAEn-cebaXxLykoKmzi3w1+y3K9uNLWmUKH=LE3oM6awjB4wi-w () mail ! gmail ! com
[Download RAW message or body]

On Mon, Feb 20, 2012 at 12:08, Alexander Neundorf wrote:
> 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 ?

Sorry, I probably should have mentioned that in my original email. We
want to compress SVG files to SVGZ files. A SVGZ file is just a single
SVG file that's been gzip compressed.

>> 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.

Unfortunately, tarballs won't work for this purpose.

Thanks,

Parker

PS: Thanks for CCing me. I'm not subscribed.
_______________________________________________
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