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