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:17 (GMT) |
commit | 1150418769cc4fc81fb7dd9c0966f40b27461e33 (patch) | |
tree | 4d1f37da08e4cdc5538809dd427ace9d1f3260bd /Help | |
parent | 87330a10e29c2c4b4dacd60009dc29f1630de6b7 (diff) | |
parent | 2931f078dc66e56942470d7d4cf1d01f71f872a1 (diff) | |
download | CMake-1150418769cc4fc81fb7dd9c0966f40b27461e33.zip CMake-1150418769cc4fc81fb7dd9c0966f40b27461e33.tar.gz CMake-1150418769cc4fc81fb7dd9c0966f40b27461e33.tar.bz2 |
Merge topic 'doc-block'
2931f078dc Help:cmake-language: note new block() command scope
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8276
Diffstat (limited to 'Help')
-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 |