summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-29 13:54:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-06-29 13:54:14 (GMT)
commit28dc0ef040c2bb4883fa6f5d91475180d2204ddb (patch)
treec7b1e22bd2e94e23aa1a23636870c0791a9f2673
parent408964f947e6874c625661a5ee19b90e7b3bbde0 (diff)
parent60b393096f4ee6c07e44b9886d309103ed0da509 (diff)
downloadCMake-28dc0ef040c2bb4883fa6f5d91475180d2204ddb.zip
CMake-28dc0ef040c2bb4883fa6f5d91475180d2204ddb.tar.gz
CMake-28dc0ef040c2bb4883fa6f5d91475180d2204ddb.tar.bz2
Merge topic 'doc-list-xref'
60b393096f Help: Link to cmake-language(7) list docs from list() command docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8597
-rw-r--r--Help/command/list.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/command/list.rst b/Help/command/list.rst
index 0c7a562..47d96a7 100644
--- a/Help/command/list.rst
+++ b/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