summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-23 15:02:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-05-23 15:02:43 (GMT)
commit77aaf1b04a6d1686d0a1340b0a96e87a46260930 (patch)
tree7265b5a6c235ff1fd207eb0512b89da3bf8e3ebf /Help
parentffb4804c8886b8537cbe05566a2a5ae151a4a71e (diff)
parentb2b97d015ea2203147fce6d94a17a937f161d45f (diff)
downloadCMake-77aaf1b04a6d1686d0a1340b0a96e87a46260930.zip
CMake-77aaf1b04a6d1686d0a1340b0a96e87a46260930.tar.gz
CMake-77aaf1b04a6d1686d0a1340b0a96e87a46260930.tar.bz2
Merge topic 'help_configure_file'
b2b97d015e Help: configure_file: add $CACHE{VAR} and $ENV{VAR} to description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8500
Diffstat (limited to 'Help')
-rw-r--r--Help/command/configure_file.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/command/configure_file.rst b/Help/command/configure_file.rst
index 6f4cedf..07dc2e1 100644
--- a/Help/command/configure_file.rst
+++ b/Help/command/configure_file.rst
@@ -12,10 +12,10 @@ Copy a file to another location and modify its contents.
[NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])
Copies an ``<input>`` file to an ``<output>`` file and substitutes
-variable values referenced as ``@VAR@`` or ``${VAR}`` in the input
-file content. Each variable reference will be replaced with the
-current value of the variable, or the empty string if the variable
-is not defined. Furthermore, input lines of the form
+variable values referenced as ``@VAR@``, ``${VAR}``, ``$CACHE{VAR}`` or
+``$ENV{VAR}`` in the input file content. Each variable reference will be
+replaced with the current value of the variable, or the empty string if
+the variable is not defined. Furthermore, input lines of the form
.. code-block:: c