mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
Modules: Fix typos and spelling in documentation
This commit is contained in:
@@ -143,12 +143,12 @@ The ``COMPATIBILITY`` mode ``AnyNewerVersion`` means that the installed
|
|||||||
package version will be considered compatible if it is newer or exactly the
|
package version will be considered compatible if it is newer or exactly the
|
||||||
same as the requested version. This mode should be used for packages which
|
same as the requested version. This mode should be used for packages which
|
||||||
are fully backward compatible, also across major versions.
|
are fully backward compatible, also across major versions.
|
||||||
If ``SameMajorVersion`` is used instead, then the behaviour differs from
|
If ``SameMajorVersion`` is used instead, then the behavior differs from
|
||||||
``AnyNewerVersion`` in that the major version number must be the same as
|
``AnyNewerVersion`` in that the major version number must be the same as
|
||||||
requested, e.g. version 2.0 will not be considered compatible if 1.0 is
|
requested, e.g. version 2.0 will not be considered compatible if 1.0 is
|
||||||
requested. This mode should be used for packages which guarantee backward
|
requested. This mode should be used for packages which guarantee backward
|
||||||
compatibility within the same major version.
|
compatibility within the same major version.
|
||||||
If ``SameMinorVersion`` is used, the behaviour is the same as
|
If ``SameMinorVersion`` is used, the behavior is the same as
|
||||||
``SameMajorVersion``, but both major and minor version must be the same as
|
``SameMajorVersion``, but both major and minor version must be the same as
|
||||||
requested, e.g version 0.2 will not be compatible if 0.1 is requested.
|
requested, e.g version 0.2 will not be compatible if 0.1 is requested.
|
||||||
If ``ExactVersion`` is used, then the package is only considered compatible if
|
If ``ExactVersion`` is used, then the package is only considered compatible if
|
||||||
|
@@ -296,7 +296,7 @@ is simpler and provides additional features over the pattern above.
|
|||||||
The ``FetchContent_Populate()`` command also supports a syntax allowing the
|
The ``FetchContent_Populate()`` command also supports a syntax allowing the
|
||||||
content details to be specified directly rather than using any saved
|
content details to be specified directly rather than using any saved
|
||||||
details. This is more low-level and use of this form is generally to be
|
details. This is more low-level and use of this form is generally to be
|
||||||
avoided in favour of using saved content details as outlined above.
|
avoided in favor of using saved content details as outlined above.
|
||||||
Nevertheless, in certain situations it can be useful to invoke the content
|
Nevertheless, in certain situations it can be useful to invoke the content
|
||||||
population as an isolated operation (typically as part of implementing some
|
population as an isolated operation (typically as part of implementing some
|
||||||
other higher level feature or when using CMake in script mode):
|
other higher level feature or when using CMake in script mode):
|
||||||
|
@@ -39,7 +39,7 @@ LANGUAGES <lang1> <lang2> ... )
|
|||||||
If INSTALL_DESTINATION is given then automatically install rules will
|
If INSTALL_DESTINATION is given then automatically install rules will
|
||||||
be created, the language subdirectory will be taken into account
|
be created, the language subdirectory will be taken into account
|
||||||
(by default use share/locale/).
|
(by default use share/locale/).
|
||||||
If ALL is specified, the pot file is processed when building the all traget.
|
If ALL is specified, the pot file is processed when building the all target.
|
||||||
It creates a custom target "potfile".
|
It creates a custom target "potfile".
|
||||||
|
|
||||||
GETTEXT_PROCESS_PO_FILES( <lang> [ALL] [INSTALL_DESTINATION <dir>]
|
GETTEXT_PROCESS_PO_FILES( <lang> [ALL] [INSTALL_DESTINATION <dir>]
|
||||||
@@ -51,7 +51,7 @@ PO_FILES <po1> <po2> ... )
|
|||||||
If INSTALL_DESTINATION is given then automatically install rules will
|
If INSTALL_DESTINATION is given then automatically install rules will
|
||||||
be created, the language subdirectory will be taken into account
|
be created, the language subdirectory will be taken into account
|
||||||
(by default use share/locale/).
|
(by default use share/locale/).
|
||||||
If ALL is specified, the po files are processed when building the all traget.
|
If ALL is specified, the po files are processed when building the all target.
|
||||||
It creates a custom target "pofiles".
|
It creates a custom target "pofiles".
|
||||||
|
|
||||||
.. versionadded:: 3.2
|
.. versionadded:: 3.2
|
||||||
|
@@ -83,7 +83,7 @@ to 1 all prerequisites will be found recursively, if set to 0 only
|
|||||||
direct prerequisites are listed. <exclude_system> must be 0 or 1
|
direct prerequisites are listed. <exclude_system> must be 0 or 1
|
||||||
indicating whether to include or exclude "system" prerequisites. With
|
indicating whether to include or exclude "system" prerequisites. With
|
||||||
<verbose> set to 0 only the full path names of the prerequisites are
|
<verbose> set to 0 only the full path names of the prerequisites are
|
||||||
printed, set to 1 extra informatin will be displayed.
|
printed, set to 1 extra information will be displayed.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user