summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorPetr Orlov <zfmeze@gmail.com>2016-08-31 15:05:15 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-19 14:22:50 (GMT)
commit1c63aa4d43f101a0d58b5b88d3119c72cadf5517 (patch)
tree0c347a5de4650e490bb47183e3d39563b1c42113 /Modules
parent4682b42bdb5a9b7ca9f6ef5f65c019eec4f92a62 (diff)
downloadCMake-1c63aa4d43f101a0d58b5b88d3119c72cadf5517.zip
CMake-1c63aa4d43f101a0d58b5b88d3119c72cadf5517.tar.gz
CMake-1c63aa4d43f101a0d58b5b88d3119c72cadf5517.tar.bz2
CPack: Add option to generate a checksum file next to each package file
Add variable CPACK_PACKAGE_CHECKSUM to activate it.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPack.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 675b38b..70ae7f7 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -116,6 +116,15 @@
# A branding image that will be displayed inside the installer (used by GUI
# installers).
#
+# .. variable:: CPACK_PACKAGE_CHECKSUM
+#
+# An algorithm that will be used to generate additional file with checksum
+# of the package. Output file name will be::
+#
+# ${CPACK_PACKAGE_FILE_NAME}.${CPACK_PACKAGE_CHECKSUM}
+#
+# Current supported alogorithms: MD5|SHA1|SHA224|SHA256|SHA384|SHA512.
+#
# .. variable:: CPACK_PROJECT_CONFIG_FILE
#
# CPack-time project CPack configuration file. This file included at cpack