summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-03 11:54:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-05-03 11:55:34 (GMT)
commit1e788a964d198fc3c135afd053afdefc531bf369 (patch)
treeb84bc4031e876f23e3f3616fc5eb08372255952d /Help
parent2d7a0862e41e9240c74f8d1ecef400fbf3f96ba8 (diff)
parent6dd11ffbdea74fae55f17515c9d16dce7bd33c30 (diff)
downloadCMake-1e788a964d198fc3c135afd053afdefc531bf369.zip
CMake-1e788a964d198fc3c135afd053afdefc531bf369.tar.gz
CMake-1e788a964d198fc3c135afd053afdefc531bf369.tar.bz2
Merge topic 'doc-build-event-order'
6dd11ffbde Help: Clarify add_custom_command build event execution order Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2030
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_custom_command.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index e3fb6b6..5f74c54 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -216,10 +216,9 @@ When the command will happen is determined by which
of the following is specified:
``PRE_BUILD``
- Run before any other rules are executed within the target.
- This is supported only on Visual Studio 9 or later.
- For all other generators ``PRE_BUILD`` will be treated as
- ``PRE_LINK``.
+ On :ref:`Visual Studio Generators`, run before any other rules are
+ executed within the target.
+ On other generators, run just before ``PRE_LINK`` commands.
``PRE_LINK``
Run after sources have been compiled but before linking the binary
or running the librarian or archiver tool of a static library.