Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread Droscy
AKHRES Nader ha scritto: is it possible to uncompress a zip file with cmake? One solution could be writing the Find7Zip.cmake file in order to get the executable and use it to uncompress the downloaded file... I know that this solution is not very easy, but it is a solution :-)

Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread Eric Noulard
2010/3/8 Droscy drosc...@yahoo.it: AKHRES Nader ha scritto: is it possible to uncompress a zip file with cmake? One solution could be writing the Find7Zip.cmake file in order to get the executable and use it to uncompress the downloaded file... I know that this solution is not very easy, but

Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread David Cole
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

Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread AKHRES Nader
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

Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread David Cole
Right now, it's best to assume a distant future release -- but there will definitely be a mention of libarchive support when it does go out. Since we just transitioned to git as our repository, we are also revisiting how we build releases. Keep your eyes open for future CMake release notes...

[CMake] Decompressing a file with cmake

2010-03-06 Thread AKHRES Nader
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 Visit other Kitware open-source projects at