summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-03-01 23:18:17 -0500
committerBrad King <brad.king@kitware.com>2023-03-02 10:34:56 -0500
commit2931f078dc66e56942470d7d4cf1d01f71f872a1 (patch)
treeb9d93809f77a0d7bb3f31877371fa8cb462d9a62 /Help
parent6c0b3d2b7e3cfdf62e895d6827f103e2b3fd8ef8 (diff)
downloadcmake-2931f078dc66e56942470d7d4cf1d01f71f872a1.tar.gz
Help:cmake-language: note new block() command scope
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-language.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst
index a0d872fb5d..d0774cb989 100644
--- a/Help/manual/cmake-language.7.rst
+++ b/Help/manual/cmake-language.7.rst
@@ -530,6 +530,9 @@ of alphanumeric characters plus ``_`` and ``-``.
Variables have dynamic scope. Each variable "set" or "unset"
creates a binding in the current scope:
+Block Scope
+ The :command:`block` command may create a new scope for variable bindings.
+
Function Scope
`Command Definitions`_ created by the :command:`function` command
create commands that, when invoked, process the recorded commands