diff options
author | Brad King <brad.king@kitware.com> | 2021-02-05 13:14:34 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-05 16:05:25 -0500 |
commit | 5dd356cefcc128c3be8d908a4c89140865467ee2 (patch) | |
tree | 7c039cdb55ea908fbb806662d1a1668c799fcc12 /Help/command/add_custom_target.rst | |
parent | acb33d0904121f10891cb3aa0622b11d4e527304 (diff) | |
download | cmake-5dd356cefcc128c3be8d908a4c89140865467ee2.tar.gz |
Help: Convert some genex names to explicit cross-references
Since commit c2dc7e0f53 (Help: Convert genex documentation to sphinx
domain objects, 2021-01-15) we can use `:genex:` cross-references to
link to named generator expressions. Update some places to do this.
This is meant to demonstrate the capability, not as a comprehensive
sweep.
Diffstat (limited to 'Help/command/add_custom_target.rst')
-rw-r--r-- | Help/command/add_custom_target.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst index 9c4d60d5ee..22d3f294d7 100644 --- a/Help/command/add_custom_target.rst +++ b/Help/command/add_custom_target.rst @@ -84,8 +84,8 @@ The options are: Arguments to ``COMMAND`` may use :manual:`generator expressions <cmake-generator-expressions(7)>`. - Use the ``TARGET_FILE`` generator expression to refer to the location of - a target later in the command line (i.e. as a command argument rather + Use the :genex:`TARGET_FILE` generator expression to refer to the location + of a target later in the command line (i.e. as a command argument rather than as the command to execute). Whenever one of the following target based generator expressions are used as |