<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
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.<br>
David, have you any idea in which version it is expected to be? CMake
2.9?<br>
<br>
Nader<br>
<br>
<br>
<br>
Le 08/03/2010 17:49, David Cole a écrit :
<blockquote
cite="mid:f435c2c51003080849n1e7dd351y2164aac4774e0366@mail.gmail.com"
type="cite">The "cmake -E tar ..." commands will decompress zip files,
but only with CVS from the git master branch.
<div><br>
</div>
<div>The functionality depends on libarchive which is in the git
master branch, but is not yet in a CMake release.<br>
<br>
</div>
<div>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.</div>
<div><br>
</div>
<div><br>
</div>
<div>HTH,</div>
<div>David</div>
<div><br>
</div>
<div><br>
<div class="gmail_quote">On Sat, Mar 6, 2010 at 6:33 PM, AKHRES Nader
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nader.akhres@laposte.net">nader.akhres@laposte.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
is it possible to uncompress a zip file with cmake?<br>
I use file(download...) to get a zip from an url, but I need to
uncompress the downloaded archive...<br>
<font color="#888888"><br>
<br>
Nader</font>
<div>
<div class="h5"><br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a
moz-do-not-send="true" href="http://www.cmake.org/Wiki/CMake_FAQ"
target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>