CMake:CPackPackageGenerators: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(New page: =CPack Package Generators= Currently CPack features the following package generators: ==TGZ== Tar GZip compressed packages. ==STGZ== Self extracting Tar GZip compressed packages (need...)
 
Line 47: Line 47:
Debian packages. Requires only ar for creating the package. In CMake cvs since July 2007, will be in 2.6.0. With CPack 2.4.x you can use the approach described in [[CMakeUserUseDebian]] .
Debian packages. Requires only ar for creating the package. In CMake cvs since July 2007, will be in 2.6.0. With CPack 2.4.x you can use the approach described in [[CMakeUserUseDebian]] .


==RPM==
==RPM (Unix Only)==


RPM packages are currently not supported, but you should look at the [[CMakeUserUseRPMTools|RPM]] module.
RPM packages are supported by CMake (more precisely by CPack) cvs since end of August 2007, will be in 2.6.0.
The built-in CPack support for RPM is based on the work done in the [[CMakeUserUseRPMTools|RPM]] module.


For an enhanced version of these modules, take a look at this discussion http://www.cmake.org/pipermail/cmake/2007-July/014945.html .
The builtin CPack 2.6.x support for RPM is for '''binary package only''' but
the binary RPM package built faster using CPack than [[CMakeUserUseRPMTools]] module.
 
This restriction is due to both a lack of time of the implementor (--[[User:Erk|Erk]] 05:01, 7 September 2007 (EDT))
and some design issue in current CPack.
 
 
The [[CMakeUserUseRPMTools]] module should be usable both with CMake 2.4.x and forthcoming CMake 2.6.x.
 
For an enhanced version of these modules, take a look at this discussion http://www.cmake.org/pipermail/cmake/2007-July/014945.html.

Revision as of 09:01, 7 September 2007

CPack Package Generators

Currently CPack features the following package generators:

TGZ

Tar GZip compressed packages.

STGZ

Self extracting Tar GZip compressed packages (needs /bin/sh, tar, gunzip and tail for extracting).

NSIS

Nullsoft Installer. Requires NSIS for creating the package.

ZIP

ZIP compressed packages. Requires zip, WinZip or 7Zip for creating the package.

TBZ2

Tar BZip2 compressed packages. Requires bzip2 for creating the package.

TZ

Tar UNIX compress compressed packages.

PackageMaker (OSX only)

Mac OSX Package Maker packages. Requires Package Maker for creating the package.

OSXX11 (OSX only)

Mac OSX X11 Bundle. Requires hdiutil for creating the package.

CygwinBinary (Cygwin only)

Tar Bzip2 compressed Cygwin package. Requires bzip2 for creating the package.

CygwinSource (Cygwin only)

Tar Bzip2 compressed Cygwin source package. Requires bzip2 for creating the package.

DEB (UNIX only)

Debian packages. Requires only ar for creating the package. In CMake cvs since July 2007, will be in 2.6.0. With CPack 2.4.x you can use the approach described in CMakeUserUseDebian .

RPM (Unix Only)

RPM packages are supported by CMake (more precisely by CPack) cvs since end of August 2007, will be in 2.6.0. The built-in CPack support for RPM is based on the work done in the RPM module.

The builtin CPack 2.6.x support for RPM is for binary package only but the binary RPM package built faster using CPack than CMakeUserUseRPMTools module.

This restriction is due to both a lack of time of the implementor (--Erk 05:01, 7 September 2007 (EDT)) and some design issue in current CPack.


The CMakeUserUseRPMTools module should be usable both with CMake 2.4.x and forthcoming CMake 2.6.x.

For an enhanced version of these modules, take a look at this discussion http://www.cmake.org/pipermail/cmake/2007-July/014945.html.