mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 12:19:54 -05:00
Fix typos identified using codespell
See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```
This commit is contained in:
committed by
Brad King
parent
c8706cf165
commit
207373802e
@@ -29,7 +29,7 @@ macOS using PackageMaker:
|
||||
|
||||
.. variable:: CPACK_PACKAGEMAKER_BACKGROUND
|
||||
|
||||
Adds a background to Distribtion XML if specified. The value contains the
|
||||
Adds a background to Distribution XML if specified. The value contains the
|
||||
path to image in ``Resources`` directory.
|
||||
|
||||
.. variable:: CPACK_PACKAGEMAKER_BACKGROUND_ALIGNMENT
|
||||
|
||||
@@ -68,7 +68,7 @@ macOS using ProductBuild:
|
||||
|
||||
.. variable:: CPACK_PRODUCTBUILD_BACKGROUND
|
||||
|
||||
Adds a background to Distribtion XML if specified. The value contains the
|
||||
Adds a background to Distribution XML if specified. The value contains the
|
||||
path to image in ``Resources`` directory.
|
||||
|
||||
.. variable:: CPACK_PRODUCTBUILD_BACKGROUND_ALIGNMENT
|
||||
|
||||
+1
-1
@@ -260,7 +260,7 @@ This may be generated with
|
||||
If the commit is a fix for the mentioned commit, consider using a ``Fixes:``
|
||||
trailer in the commit message with the specified format. This trailer should
|
||||
not be word-wrapped. Note that if there is also an issue for what is being
|
||||
fixed, it is preferrable to link to the issue instead.
|
||||
fixed, it is preferable to link to the issue instead.
|
||||
|
||||
If relevant, add the first release tag of CMake containing the commit after
|
||||
the ``<date>``, i.e., ``commit <shorthash> (<subject>, <date>, <tag>)``.
|
||||
|
||||
@@ -359,7 +359,7 @@ executables. For example:
|
||||
|
||||
The CMake variable :variable:`CMAKE_INSTALL_PREFIX` is used to determine the
|
||||
root of where the files will be installed. If using the ``cmake --install``
|
||||
command, the installation prefix can be overidden via the ``--prefix``
|
||||
command, the installation prefix can be overridden via the ``--prefix``
|
||||
argument. For example:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@@ -106,7 +106,7 @@ Variable Queries
|
||||
``$<TARGET_EXISTS:target>``
|
||||
``1`` if ``target`` exists, else ``0``.
|
||||
``$<CONFIG:cfgs>``
|
||||
``1`` if config is any one of the entires in ``cfgs``, else ``0``. This is a
|
||||
``1`` if config is any one of the entries in ``cfgs``, else ``0``. This is a
|
||||
case-insensitive comparison. The mapping in
|
||||
:prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` is also considered by this
|
||||
expression when it is evaluated on a property on an :prop_tgt:`IMPORTED`
|
||||
|
||||
@@ -359,7 +359,7 @@ Options
|
||||
This flag tells CMake to warn about other files as well.
|
||||
|
||||
``--profiling-output=<path>``
|
||||
Used in conjuction with ``--profiling-format`` to output to a given path.
|
||||
Used in conjunction with ``--profiling-format`` to output to a given path.
|
||||
|
||||
``--profiling-format=<file>``
|
||||
Enable the output of profiling data of CMake script in the given format.
|
||||
@@ -570,7 +570,7 @@ Available commands are:
|
||||
``compare_files [--ignore-eol] <file1> <file2>``
|
||||
Check if ``<file1>`` is same as ``<file2>``. If files are the same,
|
||||
then returns ``0``, if not it returns ``1``. In case of invalid
|
||||
arguments, it retruns 2. The ``--ignore-eol`` option
|
||||
arguments, it returns 2. The ``--ignore-eol`` option
|
||||
implies line-wise comparison and ignores LF/CRLF differences.
|
||||
|
||||
``copy <file>... <destination>``
|
||||
|
||||
@@ -1333,7 +1333,7 @@ Resource Allocation
|
||||
===================
|
||||
|
||||
CTest provides a mechanism for tests to specify the resources that they need
|
||||
in a fine-grained way, and for users to specify the resources availiable on
|
||||
in a fine-grained way, and for users to specify the resources available on
|
||||
the running machine. This allows CTest to internally keep track of which
|
||||
resources are in use and which are free, scheduling tests in a way that
|
||||
prevents them from trying to claim resources that are not available.
|
||||
|
||||
@@ -18,7 +18,7 @@ CMake 3.15 and above prefer to leave out warning flags from the value of
|
||||
This policy provides compatibility with projects that have not been updated
|
||||
to expect the lack of warning flags. The policy setting takes effect as of
|
||||
the first :command:`project` or :command:`enable_language` command that
|
||||
initializes :variable:`CMAKE_<LANG>_FLAGS` for a given lanuage ``<LANG>``.
|
||||
initializes :variable:`CMAKE_<LANG>_FLAGS` for a given language ``<LANG>``.
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ Commands
|
||||
:manual:`generator expression <cmake-generator-expressions(7)>`.
|
||||
|
||||
* The :command:`string` command learned a new ``UUID`` subcommand
|
||||
to generate a univerally unique identifier.
|
||||
to generate a universally unique identifier.
|
||||
|
||||
* New :command:`target_compile_features` command allows populating the
|
||||
:prop_tgt:`COMPILE_FEATURES` target property, just like any other
|
||||
|
||||
@@ -196,7 +196,7 @@ CPack
|
||||
:prop_inst:`CPACK_START_MENU_SHORTCUTS`,
|
||||
:prop_inst:`CPACK_DESKTOP_SHORTCUTS` and
|
||||
:prop_inst:`CPACK_STARTUP_SHORTCUTS` installed file properties which can
|
||||
be used to install shorcuts in the Start Menu, on the Desktop and
|
||||
be used to install shortcuts in the Start Menu, on the Desktop and
|
||||
in the Startup Folder respectively.
|
||||
|
||||
Other
|
||||
|
||||
Reference in New Issue
Block a user