summaryrefslogtreecommitdiff
path: root/Auxiliary
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 /Auxiliary
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 'Auxiliary')
-rw-r--r--Auxiliary/vim/syntax/cmake.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim
index 9eb993abf1..5e936c29db 100644
--- a/Auxiliary/vim/syntax/cmake.vim
+++ b/Auxiliary/vim/syntax/cmake.vim
@@ -2013,6 +2013,7 @@ syn keyword cmakeKWExternalProject contained
\ IGNORED
\ INACTIVITY_TIMEOUT
\ INDEPENDENT_STEP_TARGETS
+ \ INSTALL_BYPRODUCTS
\ INSTALL_COMMAND
\ INSTALL_DIR
\ JOB_POOLS