diff options
author | Brad King <brad.king@kitware.com> | 2023-03-03 14:21:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-03-03 14:21:16 (GMT) |
commit | cbaf334598608f22574fffe0189aec23dc34bc5b (patch) | |
tree | b9d93809f77a0d7bb3f31877371fa8cb462d9a62 | |
parent | 6c0b3d2b7e3cfdf62e895d6827f103e2b3fd8ef8 (diff) | |
parent | 2931f078dc66e56942470d7d4cf1d01f71f872a1 (diff) | |
download | CMake-cbaf334598608f22574fffe0189aec23dc34bc5b.zip CMake-cbaf334598608f22574fffe0189aec23dc34bc5b.tar.gz CMake-cbaf334598608f22574fffe0189aec23dc34bc5b.tar.bz2 |
Merge topic 'doc-block' into release-3.26
2931f078dc Help:cmake-language: note new block() command scope
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8276
-rw-r--r-- | Help/manual/cmake-language.7.rst | 3 |
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 |