diff options
author | Brad King <brad.king@kitware.com> | 2018-05-02 17:19:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-02 17:19:00 (GMT) |
commit | 6dd11ffbdea74fae55f17515c9d16dce7bd33c30 (patch) | |
tree | 69897a5c2bcf227126192557519f604e311f608d /Help/command/add_custom_command.rst | |
parent | 5e455ac120fd596a0ad1a4216c5734bb52ac1b75 (diff) | |
download | CMake-6dd11ffbdea74fae55f17515c9d16dce7bd33c30.zip CMake-6dd11ffbdea74fae55f17515c9d16dce7bd33c30.tar.gz CMake-6dd11ffbdea74fae55f17515c9d16dce7bd33c30.tar.bz2 |
Help: Clarify add_custom_command build event execution order
Fixes: #17949
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r-- | Help/command/add_custom_command.rst | 7 |
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. |