summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen/productbuild.rst
diff options
context:
space:
mode:
authorGreg Fiumara <greg@gregfiumara.com>2021-11-16 21:39:34 (GMT)
committerGreg Fiumara <greg@gregfiumara.com>2021-11-18 18:01:35 (GMT)
commit7213ceb869bfe50acda93eaeab9f3d928f517cd8 (patch)
tree56cbbbfd63b4863de08ee5b425eea903da7747af /Help/cpack_gen/productbuild.rst
parentd98b61c68770150e4773ce30eb8145ad487016da (diff)
downloadCMake-7213ceb869bfe50acda93eaeab9f3d928f517cd8.zip
CMake-7213ceb869bfe50acda93eaeab9f3d928f517cd8.tar.gz
CMake-7213ceb869bfe50acda93eaeab9f3d928f517cd8.tar.bz2
CPack/productbuild: Add option to customize product identifier
This adds a new option, CPACK_PRODUCTBUILD_IDENTIFIER, which allows for customization of the productbuild product identifier within the CPack productbuild generator. Fixes: #20830
Diffstat (limited to 'Help/cpack_gen/productbuild.rst')
-rw-r--r--Help/cpack_gen/productbuild.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/cpack_gen/productbuild.rst b/Help/cpack_gen/productbuild.rst
index cf3041f..75d5cff 100644
--- a/Help/cpack_gen/productbuild.rst
+++ b/Help/cpack_gen/productbuild.rst
@@ -18,6 +18,14 @@ macOS using ProductBuild:
the automatically detected command (or specify its location if the
auto-detection fails to find it).
+.. variable:: CPACK_PRODUCTBUILD_IDENTIFIER
+
+ .. versionadded:: 3.23
+
+ Set the unique (non-localized) product identifier to be associated with the
+ product (i.e., ``com.kitware.cmake``). Any component product names will be
+ appended to this value.
+
.. variable:: CPACK_PRODUCTBUILD_IDENTITY_NAME
.. versionadded:: 3.8