It sounds exactly like what I need (I'm already in a cmake script) but
I'd rather stick to an official version for my users up to now.
To answer Eric and Droscy, I manage to use an external python script to
uncompress (I use python already for other purpose) the downloaded file
but I'd rather use the cmake -E tar command as soon as it is available
in release flavour.
David, have you any idea in which version it is expected to be? CMake 2.9?
Nader
Le 08/03/2010 17:49, David Cole a écrit :
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
<mailto: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 <http://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