summaryrefslogtreecommitdiffstats
path: root/Help/command/file.rst
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-11-06 16:17:15 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-09 19:52:30 (GMT)
commitc86ec79d07bb7ad54ddf8739bcc2084af4a1a274 (patch)
tree45d1d088cf7093596c48f519077ec3e85d9e13af /Help/command/file.rst
parent8c6274326d5bfb32e58a4da690138279854803e8 (diff)
downloadCMake-c86ec79d07bb7ad54ddf8739bcc2084af4a1a274.zip
CMake-c86ec79d07bb7ad54ddf8739bcc2084af4a1a274.tar.gz
CMake-c86ec79d07bb7ad54ddf8739bcc2084af4a1a274.tar.bz2
Help: Use direct refs to genexes instead of ``$<GENEX-NAME>``
Diffstat (limited to 'Help/command/file.rst')
-rw-r--r--Help/command/file.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index fbe2a81..673125d 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -526,10 +526,10 @@ from the input content to produce the output content. The options are:
``OUTPUT <output-file>``
Specify the output file name to generate. Use generator expressions
- such as ``$<CONFIG>`` to specify a configuration-specific output file
- name. Multiple configurations may generate the same output file only
- if the generated content is identical. Otherwise, the ``<output-file>``
- must evaluate to an unique name for each configuration.
+ such as :genex:`$<CONFIG>` to specify a configuration-specific
+ output file name. Multiple configurations may generate the same output
+ file only if the generated content is identical. Otherwise, the
+ ``<output-file>`` must evaluate to an unique name for each configuration.
.. versionchanged:: 3.10
A relative path (after evaluating generator expressions) is treated
@@ -540,8 +540,9 @@ from the input content to produce the output content. The options are:
.. versionadded:: 3.19
Specify which target to use when evaluating generator expressions that
- require a target for evaluation (e.g. ``$<COMPILE_FEATURES:...>``,
- ``$<TARGET_PROPERTY:prop>``).
+ require a target for evaluation (e.g.
+ :genex:`$<COMPILE_FEATURES:...>`,
+ :genex:`$<TARGET_PROPERTY:prop>`).
``NO_SOURCE_PERMISSIONS``
.. versionadded:: 3.20