... | @@ -2,7 +2,7 @@ |
... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
CPack builds binary installers for a variety of platforms using CMake's
|
|
CPack builds binary installers for a variety of platforms using CMake's
|
|
existing installation infrastructure (see the list of supported [CPack
|
|
existing installation infrastructure (see the list of supported [CPack
|
|
generators](CMake%3ACPackPackageGenerators "wikilink")). Augmented by a
|
|
generators](doc/cpack/PackageGenerators "wikilink")). Augmented by a
|
|
set of CPack-specific macros, a program built with CMake can easily be
|
|
set of CPack-specific macros, a program built with CMake can easily be
|
|
distributed via a user-friendly installer.
|
|
distributed via a user-friendly installer.
|
|
|
|
|
... | @@ -68,7 +68,7 @@ After that grouping and dependencies may be specified by two ways: |
... | @@ -68,7 +68,7 @@ After that grouping and dependencies may be specified by two ways: |
|
|
|
|
|
CPack comes with several binary Generators: NSIS, PackageMaker, TGZ,
|
|
CPack comes with several binary Generators: NSIS, PackageMaker, TGZ,
|
|
ZIP, RPM, DEB... Depending on the capacity of the [specific
|
|
ZIP, RPM, DEB... Depending on the capacity of the [specific
|
|
generator](CMake%3ACPackPackageGenerators "wikilink") the component
|
|
generator](doc/cpack/PackageGenerators "wikilink") the component
|
|
packaging will produce:
|
|
packaging will produce:
|
|
|
|
|
|
- For component-aware generators:
|
|
- For component-aware generators:
|
... | @@ -220,7 +220,7 @@ end of \`CMakeLists.txt\`: |
... | @@ -220,7 +220,7 @@ end of \`CMakeLists.txt\`: |
|
include(CPack)
|
|
include(CPack)
|
|
|
|
|
|
More information about CPack and its configuration macros can be found
|
|
More information about CPack and its configuration macros can be found
|
|
[here](CMake%3ACPackConfiguration "wikilink"), but this boilerplate
|
|
[here](doc/cpack/Configuration "wikilink"), but this boilerplate
|
|
suffices to enable the packaging target in a CMake build. From here,
|
|
suffices to enable the packaging target in a CMake build. From here,
|
|
makefile users can invove \`make package\` to build a binary installer
|
|
makefile users can invove \`make package\` to build a binary installer
|
|
(e.g., on Mac OS X) and Visual Studio users can build the PACKAGE
|
|
(e.g., on Mac OS X) and Visual Studio users can build the PACKAGE
|
... | | ... | |