mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
Help:cmake-language: note new block() command scope
This commit is contained in:
1 parent
6c0b3d2b7e
commit
2931f078dc
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user