[CMake] cmake -E tar using bzip2 compression

Bill Hoffman bill.hoffman at kitware.com
Thu Nov 12 11:27:16 EST 2009


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



More information about the CMake mailing list