Merge topic 'doc-add_custom_command' into release-3.27

e588d29eaf Help: add_custom_command(TARGET) does not support USES_TERMINAL

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: William Jones <william.luke.jones@gmail.com>
Merge-request: !8602
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 @@
   (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
diff --git a/Help/command/target_precompile_headers.rst b/Help/command/target_precompile_headers.rst
index 8e5c0e9..c795713 100644
--- a/Help/command/target_precompile_headers.rst
+++ b/Help/command/target_precompile_headers.rst
@@ -70,7 +70,7 @@
       <unordered_map>
   )
 
-.. |command_name| replace:: ``target_compile_features``
+.. |command_name| replace:: ``target_precompile_headers``
 .. |more_see_also| replace:: The :genex:`$<COMPILE_LANGUAGE:...>` generator
    expression is particularly useful for specifying a language-specific header
    to precompile for only one language (e.g. ``CXX`` and not ``C``).  In this