diff options
Diffstat (limited to 'share/cmake-3.22/Help/command/endforeach.rst')
-rw-r--r-- | share/cmake-3.22/Help/command/endforeach.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/command/endforeach.rst b/share/cmake-3.22/Help/command/endforeach.rst new file mode 100644 index 0000000..fd923d5 --- /dev/null +++ b/share/cmake-3.22/Help/command/endforeach.rst @@ -0,0 +1,14 @@ +endforeach +---------- + +Ends a list of commands in a foreach block. + +.. code-block:: cmake + + endforeach([<loop_var>]) + +See the :command:`foreach` command. + +The optional ``<loop_var>`` argument is supported for backward compatibility +only. If used it must be a verbatim repeat of the ``<loop_var>`` argument of +the opening ``foreach`` clause. |