[CMake] [Patch] 7z cpack generator support

Alexander Neundorf a.neundorf-work at gmx.net
Tue Apr 21 16:49:11 EDT 2009


On Tuesday 21 April 2009, Ralf Habacker wrote:
> Hi,
>
> for a specific cmake project on windows there was 7zip cpack support
> requested. The appended patch adds those support to cpack.
>
> It works like the zip generator with one extension: It is possible to
> run 7z with additional options by defining the (newly introduced)
> CPACK_GENERATOR_7Z_OPTIONS variable.

What would you think about extending the current zip generator instead of 
adding a new 7zip generator ?
An <OPTIONS> tag can be added also in CPackZIP.cmake, if necessary something 
could be added so that CPackZIP.cmake finds only "wzzip" or "7z" or "zip", 
something like CPACK_ZIP_REQUIRED_TOOL or something like this.
What do you think ?

Alex


More information about the CMake mailing list