[CMake] How can I unzip a file?
Peter
p.schregle at impuls-imaging.com
Mon Jul 6 06:10:52 EDT 2009
I could probably live with .gz files.
What would I have to type inside the CMakeLists.txt file to expand the
archive?
Am 03.07.2009 20:07, schrieb David Cole:
> cmake -E tar
>
> can untar .tar files and .tar.gz files... But you have to use an
> external tool for .zip files.
>
> We are considering adding libarchive support to be able to handle more
> zip formats, but it has not been tackled yet. (See
> http://code.google.com/p/libarchive/ for more info.)
>
>
> HTH,
> David
>
>
> On Fri, Jul 3, 2009 at 1:44 PM, Peter <p.schregle at impuls-imaging.com
> <mailto:p.schregle at impuls-imaging.com>>
> wrote:
>
> I can't figure out how I can unzip a set of files with CMake.
>
> 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?
>
> Thanks.
> Peter
>
> _______________________________________________
> 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
More information about the CMake
mailing list