mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
2a2829cc75
The documentation for CPack generators previously lived in their respective internal CMake modules. This setup was misleading, because it implied that you should include the modules in your own code, which is not the case. Moving the documentation into a separate section does a better job of hiding the internal modules, which are just an implementation detail. The generator documentation has also been modified to remove any references to the module name. The CPackIFW module is a special exception: since it has user-facing macros, the documentation for these macros has been kept in the module page, while all other documentation related to the IFW generator has been moved into the new section. To make it easier to find the new documentation, the old help pages for the CPack*.cmake modules have not been deleted, but have been replaced with a link to their respective help page in the new documentation section.
69 lines
2.2 KiB
ReStructuredText
69 lines
2.2 KiB
ReStructuredText
CPack productbuild Generator
|
|
----------------------------
|
|
|
|
productbuild CPack generator (Mac OS X).
|
|
|
|
Variables specific to CPack productbuild generator
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
The following variable is specific to installers built on Mac
|
|
OS X using ProductBuild:
|
|
|
|
.. variable:: CPACK_COMMAND_PRODUCTBUILD
|
|
|
|
Path to the productbuild(1) command used to generate a product archive for
|
|
the OS X Installer or Mac App Store. This variable can be used to override
|
|
the automatically detected command (or specify its location if the
|
|
auto-detection fails to find it.)
|
|
|
|
.. variable:: CPACK_PRODUCTBUILD_IDENTITY_NAME
|
|
|
|
Adds a digital signature to the resulting package.
|
|
|
|
|
|
.. variable:: CPACK_PRODUCTBUILD_KEYCHAIN_PATH
|
|
|
|
Specify a specific keychain to search for the signing identity.
|
|
|
|
|
|
.. variable:: CPACK_COMMAND_PKGBUILD
|
|
|
|
Path to the pkgbuild(1) command used to generate an OS X component package
|
|
on OS X. This variable can be used to override the automatically detected
|
|
command (or specify its location if the auto-detection fails to find it.)
|
|
|
|
|
|
.. variable:: CPACK_PKGBUILD_IDENTITY_NAME
|
|
|
|
Adds a digital signature to the resulting package.
|
|
|
|
|
|
.. variable:: CPACK_PKGBUILD_KEYCHAIN_PATH
|
|
|
|
Specify a specific keychain to search for the signing identity.
|
|
|
|
|
|
.. variable:: CPACK_PREFLIGHT_<COMP>_SCRIPT
|
|
|
|
Full path to a file that will be used as the ``preinstall`` script for the
|
|
named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
|
|
component name. No ``preinstall`` script is added if this variable is not
|
|
defined for a given component.
|
|
|
|
|
|
.. variable:: CPACK_POSTFLIGHT_<COMP>_SCRIPT
|
|
|
|
Full path to a file that will be used as the ``postinstall`` script for the
|
|
named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
|
|
component name. No ``postinstall`` script is added if this variable is not
|
|
defined for a given component.
|
|
|
|
|
|
.. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR
|
|
|
|
If specified the productbuild generator copies files from this directory
|
|
(including subdirectories) to the ``Resources`` directory. This is done
|
|
before the :variable:`CPACK_RESOURCE_FILE_WELCOME`,
|
|
:variable:`CPACK_RESOURCE_FILE_README`, and
|
|
:variable:`CPACK_RESOURCE_FILE_LICENSE` files are copied.
|