summaryrefslogtreecommitdiffstats
path: root/Help/command/cmake_language.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-10-24 11:48:30 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-10-24 11:58:42 (GMT)
commit95c14579f2b36e71bd217c9b03a2e20767650ecf (patch)
tree15d0db55cc06f68dc1024c7a781b16eefbf08365 /Help/command/cmake_language.rst
parentf2a59d400e9ec2e937f6000000c2e9860e388ca7 (diff)
downloadCMake-95c14579f2b36e71bd217c9b03a2e20767650ecf.zip
CMake-95c14579f2b36e71bd217c9b03a2e20767650ecf.tar.gz
CMake-95c14579f2b36e71bd217c9b03a2e20767650ecf.tar.bz2
Help: Cleanup typos and grammar for the 3.19 release
Diffstat (limited to 'Help/command/cmake_language.rst')
-rw-r--r--Help/command/cmake_language.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Help/command/cmake_language.rst b/Help/command/cmake_language.rst
index 00e1a69..40a45e3 100644
--- a/Help/command/cmake_language.rst
+++ b/Help/command/cmake_language.rst
@@ -134,14 +134,14 @@ The options are:
``ID <id>``
Specify an identification for the deferred call.
- The id may not be empty and may not begin in a capital letter ``A-Z``.
- The id may begin in a ``_`` only if it was generated by another call
- that used ``ID_VAR`` to get the id.
+ The ``<id>`` may not be empty and may not begin with a capital letter ``A-Z``.
+ The ``<id>`` may begin with an underscore (``_``) only if it was generated
+ automatically by an earlier call that used ``ID_VAR`` to get the id.
``ID_VAR <var>``
- Sepcify a variable in which to store the identification for the
+ Specify a variable in which to store the identification for the
deferred call. If ``ID <id>`` is not given, a new identification
- will be generated starting in a ``_``.
+ will be generated and the generated id will start with an underscore (``_``).
The currently scheduled list of deferred calls may be retrieved:
@@ -149,7 +149,7 @@ The currently scheduled list of deferred calls may be retrieved:
cmake_language(DEFER [DIRECTORY <dir>] GET_CALL_IDS <var>)
-This will store in ``<var>`` a :ref:`Semicolon-separated list <CMake Language
+This will store in ``<var>`` a :ref:`semicolon-separated list <CMake Language
Lists>` of deferred call ids.
Details of a specific call may be retrieved from its id:
@@ -158,7 +158,7 @@ Details of a specific call may be retrieved from its id:
cmake_language(DEFER [DIRECTORY <dir>] GET_CALL <id> <var>)
-This will store in ``<var>`` a :ref:`Semicolon-separated list <CMake Language
+This will store in ``<var>`` a :ref:`semicolon-separated list <CMake Language
Lists>` in which the first element is the name of the command to be
called, and the remaining elements are its unevaluated arguments (any
contained ``;`` characters are included literally and cannot be distinguished