endforeach.rst 342 B

1234567891011121314
  1. endforeach
  2. ----------
  3. Ends a list of commands in a foreach block.
  4. .. code-block:: cmake
  5. endforeach([<loop_var>])
  6. See the :command:`foreach` command.
  7. The optional ``<loop_var>`` argument is supported for backward compatibility
  8. only. If used it must be a verbatim repeat of the ``<loop_var>`` argument of
  9. the opening ``foreach`` clause.