summaryrefslogtreecommitdiffstats
path: root/Help/release/dev
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2020-06-02 18:10:08 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-15 15:06:41 (GMT)
commit915409af490c253924acbb58ea97c809ff8e631c (patch)
tree361dac354f64a1aa63667f577f33765c58fb2a94 /Help/release/dev
parent43b10e2411858ae7734c54480a8c0c6c3ccd659b (diff)
downloadCMake-915409af490c253924acbb58ea97c809ff8e631c.zip
CMake-915409af490c253924acbb58ea97c809ff8e631c.tar.gz
CMake-915409af490c253924acbb58ea97c809ff8e631c.tar.bz2
CPack: Introduce pre- and post- build actions
CPack learned the `CPACK_PRE_BUILD_SCRIPTS`, `CPACK_POST_BUILD_SCRIPTS`, and `CPACK_PACKAGE_FILES` variables. The first two are lists of scripts to perform - after pre-install files into a staging directory and before producing the resulting packages - after produsing the packages The post-build script(s) also get the list of actually produced packages in the `CPACK_PACKAGE_FILES`. Issue: #19077
Diffstat (limited to 'Help/release/dev')
-rw-r--r--Help/release/dev/cpack-pre-and-post-build-scripts.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/cpack-pre-and-post-build-scripts.rst b/Help/release/dev/cpack-pre-and-post-build-scripts.rst
new file mode 100644
index 0000000..bf7958b
--- /dev/null
+++ b/Help/release/dev/cpack-pre-and-post-build-scripts.rst
@@ -0,0 +1,5 @@
+cpack-pre-and-post-build-scripts
+--------------------------------
+
+* CPack learned the :variable:`CPACK_PRE_BUILD_SCRIPTS`, :variable:`CPACK_POST_BUILD_SCRIPTS`,
+ and :variable:`CPACK_PACKAGE_FILES` variables.