Bläddra i källkod

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

Fixes: #25036
Brad King 2 år sedan
förälder
incheckning
60b393096f
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5 1
      Help/command/list.rst

+ 5 - 1
Help/command/list.rst

@@ -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