cmake -E tar<div><br></div><div>can untar .tar files and .tar.gz files... But you have to use an external tool for .zip files.</div><div><br></div><div>We are considering adding libarchive support to be able to handle more zip formats, but it has not been tackled yet. (See <a href="http://code.google.com/p/libarchive/">http://code.google.com/p/libarchive/</a> for more info.)</div>
<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">On Fri, Jul 3, 2009 at 1:44 PM, Peter <span dir="ltr">&lt;<a href="mailto:p.schregle@impuls-imaging.com">p.schregle@impuls-imaging.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I can&#39;t figure out how I can unzip a set of files with CMake.<br>
<br>
I have a bunch of files in a zip archive, which need to be expanded during the build process and I would like to know how this can be done in a portable way with CMake?<br>
<br>
Thanks.<br>
Peter<br>
<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>
</blockquote></div><br></div>