[CMake] Decompressing a file with cmake
David Cole
david.cole at kitware.com
Mon Mar 8 11:49:12 EST 2010
The "cmake -E tar ..." commands will decompress zip files, but only with CVS
from the git master branch.
The functionality depends on libarchive which is in the git master branch,
but is not yet in a CMake release.
If you need to use CMake 2.8 or earlier, you'll have to use some other
external tool for zip file extraction. If you can use "CMake git master"
then you can use cmake to do the decompression.
HTH,
David
On Sat, Mar 6, 2010 at 6:33 PM, AKHRES Nader <nader.akhres at laposte.net>wrote:
> Hello,
>
> is it possible to uncompress a zip file with cmake?
> I use file(download...) to get a zip from an url, but I need to uncompress
> the downloaded archive...
>
>
> Nader
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100308/274e6116/attachment.htm>
More information about the CMake
mailing list