summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2020-05-31 20:58:42 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-05 12:56:32 (GMT)
commita6e1b20bab6ab7566a887d43f50c35c112c62b3d (patch)
treef2ec3fa0f121b00ab1a7ee05a7d5afd15bc36d01 /Help/cpack_gen
parent21218f5c1277ff840e1a7b6128af3b2abe0d35d3 (diff)
downloadCMake-a6e1b20bab6ab7566a887d43f50c35c112c62b3d.zip
CMake-a6e1b20bab6ab7566a887d43f50c35c112c62b3d.tar.gz
CMake-a6e1b20bab6ab7566a887d43f50c35c112c62b3d.tar.bz2
CPack External: Introduce `CPACK_EXTERNAL_BUILT_PACKAGES`
The `CPACK_EXTERNAL_PACKAGE_SCRIPT` script may set this list variable to the full paths of generated package files. CPack copy these files from the stage directory back to the top build directory and possibly produce checksum files if the `CPACK_PACKAGE_CHECKSUM` is set.
Diffstat (limited to 'Help/cpack_gen')
-rw-r--r--Help/cpack_gen/external.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/cpack_gen/external.rst b/Help/cpack_gen/external.rst
index 406f6be..7ef1071 100644
--- a/Help/cpack_gen/external.rst
+++ b/Help/cpack_gen/external.rst
@@ -281,3 +281,10 @@ Variables specific to CPack External generator
It is invoked after (optional) staging took place and may
run an external packaging tool. The script has access to
the variables defined by the CPack config file.
+
+.. variable:: CPACK_EXTERNAL_BUILT_PACKAGES
+
+ The ``CPACK_EXTERNAL_PACKAGE_SCRIPT`` script may set this list variable to the
+ full paths of generated package files. CPack copy these files from the stage
+ directory back to the top build directory and possibly produce checksum files
+ if the :variable:`CPACK_PACKAGE_CHECKSUM` is set.