Help: Minor formatting and grammar fixes for get_property()

This commit is contained in:
Craig Scott
2024-08-23 09:56:48 +10:00
parent 40e85e1551
commit edee1b18b2

View File

@@ -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::