Browse Source

Merge topic 'doc-list-xref' into release-3.27

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

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8597
Brad King 2 years ago
parent
commit
088e07d1a7
1 changed files with 5 additions and 1 deletions
  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