From 1c63aa4d43f101a0d58b5b88d3119c72cadf5517 Mon Sep 17 00:00:00 2001 From: Petr Orlov Date: Wed, 31 Aug 2016 18:05:15 +0300 Subject: CPack: Add option to generate a checksum file next to each package file Add variable CPACK_PACKAGE_CHECKSUM to activate it. --- Modules/CPack.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Modules') diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 675b38ba65..70ae7f72ac 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 -- cgit v1.2.1