Help: Link to cmake-language(7) list docs from list() command docs

Fixes: #25036
This commit is contained in:
Brad King 2023-06-28 07:51:37 -04:00
parent f9fe9099ab
commit 60b393096f

View File

@ -1,7 +1,7 @@
list
----
List operations.
Operations on :ref:`semicolon-separated lists <CMake Language Lists>`.
Synopsis
^^^^^^^^
@ -56,6 +56,10 @@ propagation.
(Note that macro arguments are not variables, and therefore cannot be used
in ``LIST`` commands.)
Individual elements may not contain an unequal number of ``[`` and ``]``
characters, and may not end in a backslash (``\``).
See :ref:`semicolon-separated lists <CMake Language Lists>` for details.
.. note::
When specifying index values, if ``<element index>`` is 0 or greater, it