Hugh Sorby wrote:
I have been hanging out for 2.8.1 because I needed this feature to
provide seamless integration with our current build system.  On testing
yesterday no dice I couldn't decompress a bzip2 archive.  I even looked
through the source code but couldn't find it.
It would be nice to have native uncompressing in cmake, but if you can stand to use external bunzip2 exec,
try this
http://3d.cineca.it/storage/bazaar_repo/CmakeDeps/lib/wt/CMakeModules/ExternalProject.cmake
it should work for files like .tar.bz2 if you have bunzip2 executable

HTH

Luigi
I feel I have missed the boat on this one but I don't know why.  Any
further information on this would be great.

Hugh

On 13/11/09 05:27, Bill Hoffman wrote:
Kelly T. Kirk (CISD/CIV) wrote:
 > Hugh Sorby wrote:
 >> Hi,
 >>
 >> I am using CMake 2.6 and I would like to be able to decompress bz2
 >> files.  Is it possible to add bz2 compression to the tar command (or
 >> even better is it already there?).  I was hoping to do something like
 >> cmake -E tar xjf my_really_cool_source_files.tar.bz2
 >>
 >> I have looked but didn't find it, which certainly doesn't rule out
the
 >> fact that it is already there.
 >>
 >
 > That is in CVS CMake, but not in a release yet. (Not even 2.8.0.)
 >
 > -Bill

How about tar.bz2 to work with ExternalProject_Add Module?

It will be in 2.8.1.

-Bill

_______________________________________________
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



_______________________________________________
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

Reply via email to