summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorAlois Klink <alois@aloisklink.com>2022-11-03 15:40:30 +0000
committerAlois Klink <alois@aloisklink.com>2022-11-05 16:26:45 +0000
commit8c6b2928f4b71f87ba6ef6ccfaa7ba1c767f3097 (patch)
treecd3a42e8ea2a38a6a5583f03920d6577ac9b736d /Help
parent6d6baffb85ab4e02848fa7a3752f967d6ecb9518 (diff)
downloadcmake-8c6b2928f4b71f87ba6ef6ccfaa7ba1c767f3097.tar.gz
ExternalProject: Add `INSTALL_BYPRODUCTS` option
Add an `INSTALL_BYPRODUCTS` option to `ExternalProject_Add` that can be used to declare that files are `BYPRODUCTS` of the ExternalProject install step. This is often required by the Ninja generator to explicitly declare dependencies. Previously, many users used `BUILD_BYPRODUCTS`, even if their files were created by the install step, not the build step. This commit essentially just copies the code for `BUILD_BYPRODUCTS`. Fixes: #24120 Fixes: #23056
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/ExternalProject-INSTALL_BYPRODUCTS.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/ExternalProject-INSTALL_BYPRODUCTS.rst b/Help/release/dev/ExternalProject-INSTALL_BYPRODUCTS.rst
new file mode 100644
index 0000000000..233596f79c
--- /dev/null
+++ b/Help/release/dev/ExternalProject-INSTALL_BYPRODUCTS.rst
@@ -0,0 +1,6 @@
+ExternalProject-INSTALL_BYPRODUCTS
+----------------------------------
+
+* The :module:`ExternalProject` module :command:`ExternalProject_Add` command
+ gained an ``INSTALL_BYPRODUCTS`` option to specify files generated by the
+ "install" step.