summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-language.7.rst
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-03-02 04:18:17 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-02 15:34:56 (GMT)
commit2931f078dc66e56942470d7d4cf1d01f71f872a1 (patch)
treeb9d93809f77a0d7bb3f31877371fa8cb462d9a62 /Help/manual/cmake-language.7.rst
parent6c0b3d2b7e3cfdf62e895d6827f103e2b3fd8ef8 (diff)
downloadCMake-2931f078dc66e56942470d7d4cf1d01f71f872a1.zip
CMake-2931f078dc66e56942470d7d4cf1d01f71f872a1.tar.gz
CMake-2931f078dc66e56942470d7d4cf1d01f71f872a1.tar.bz2
Help:cmake-language: note new block() command scope
Diffstat (limited to 'Help/manual/cmake-language.7.rst')
-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 a0d872f..d0774cb 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