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 href="mailto:nader.akhres@laposte.net">nader.akhres@laposte.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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></div><div class="h5"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a 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 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 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>