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.akh...@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
>
_______________________________________________
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

Reply via email to