summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-08-22 23:56:48 (GMT)
committerCraig Scott <craig.scott@crascit.com>2024-08-22 23:57:14 (GMT)
commitedee1b18b20b7d994ed82196bf4214e47e003d42 (patch)
treefd1a85d7122c43b15bcb61e5f0c33ca23d01a438 /Help/command
parent40e85e1551cbc836988a56b77255903de38f0927 (diff)
downloadCMake-edee1b18b20b7d994ed82196bf4214e47e003d42.zip
CMake-edee1b18b20b7d994ed82196bf4214e47e003d42.tar.gz
CMake-edee1b18b20b7d994ed82196bf4214e47e003d42.tar.bz2
Help: Minor formatting and grammar fixes for get_property()
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/get_property.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/Help/command/get_property.rst b/Help/command/get_property.rst
index a0a12bb..bd1347f 100644
--- a/Help/command/get_property.rst
+++ b/Help/command/get_property.rst
@@ -29,7 +29,7 @@ It must be one of the following:
Scope is unique and does not accept a name.
``DIRECTORY``
- Scope defaults to the current directory but another
+ Scope defaults to the current directory, but another
directory (already processed by CMake) may be named by the
full or relative path ``<dir>``.
Relative paths are treated as relative to the current source directory.
@@ -79,10 +79,10 @@ It must be one of the following:
``DIRECTORY <dir>``
The test property will be read from the ``<dir>`` directory's
- scope. CMake must already know about the directory, either by having added
- it through a call to :command:`add_subdirectory` or ``<dir>`` being the top
- level directory. Relative paths are treated as relative to the current
- source directory. ``<dir>`` may reference a binary directory.
+ scope. CMake must already know about the directory, either by having
+ added it through a call to :command:`add_subdirectory` or ``<dir>`` being
+ the top level directory. Relative paths are treated as relative to the
+ current source directory. ``<dir>`` may reference a binary directory.
``CACHE``
Scope must name one cache entry.
@@ -95,15 +95,15 @@ the property to get. If the property is not set an empty value is
returned, although some properties support inheriting from a parent scope
if defined to behave that way (see :command:`define_property`).
-If the ``SET`` option is given the variable is set to a boolean
+If the ``SET`` option is given, the variable is set to a boolean
value indicating whether the property has been set. If the ``DEFINED``
-option is given the variable is set to a boolean value indicating
-whether the property has been defined such as with the
+option is given, the variable is set to a boolean value indicating
+whether the property has been defined, such as with the
:command:`define_property` command.
-If ``BRIEF_DOCS`` or ``FULL_DOCS`` is given then the variable is set to a
+If ``BRIEF_DOCS`` or ``FULL_DOCS`` is given, then the variable is set to a
string containing documentation for the requested property. If
-documentation is requested for a property that has not been defined
+documentation is requested for a property that has not been defined,
``NOTFOUND`` is returned.
.. note::