From 0854e3d59832823faa583afdaa03f662e6662efa Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 20 Dec 2025 21:27:02 +1100 Subject: [PATCH] Help,Comments: Fix occurrences of doubled words --- Help/cpack_gen/ifw.rst | 2 +- Help/guide/tutorial/Getting Started with CMake.rst | 2 +- Help/release/3.16.rst | 2 +- Modules/FindCurses.cmake | 2 +- Modules/FindLATEX.cmake | 2 +- Modules/FindOpenGL.cmake | 2 +- Modules/FindTIFF.cmake | 2 +- Source/CTest/cmCTestTestHandler.cxx | 2 +- Source/cmSarifLog.h | 2 +- Source/cmVisualStudioGeneratorOptions.cxx | 2 +- .../InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c | 2 +- .../InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad2.c | 2 +- .../FrameworkMultiConfigPostfix-build-final-check.cmake | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Help/cpack_gen/ifw.rst b/Help/cpack_gen/ifw.rst index 968728183b..e22aa91ac4 100644 --- a/Help/cpack_gen/ifw.rst +++ b/Help/cpack_gen/ifw.rst @@ -469,7 +469,7 @@ a remote server. The ``DOWNLOADED`` option in the :command:`cpack_add_component` command specifies that a component is to be downloaded. Alternatively, the ``ALL`` option in the :command:`cpack_configure_downloads` command specifies that -``all`` components are to be be downloaded. +``all`` components are to be downloaded. The :command:`cpack_ifw_add_repository` command and the :variable:`CPACK_IFW_DOWNLOAD_ALL` variable allow for more specific diff --git a/Help/guide/tutorial/Getting Started with CMake.rst b/Help/guide/tutorial/Getting Started with CMake.rst index d72acb0281..19c811d124 100644 --- a/Help/guide/tutorial/Getting Started with CMake.rst +++ b/Help/guide/tutorial/Getting Started with CMake.rst @@ -430,7 +430,7 @@ We should be able to see our library created alongside the Tutorial executable. Solution -------- -We start by adding the library target in the same manner as the the Tutorial +We start by adding the library target in the same manner as the Tutorial executable. .. raw:: html diff --git a/Help/release/3.16.rst b/Help/release/3.16.rst index f9f9b331b1..c46e3dc875 100644 --- a/Help/release/3.16.rst +++ b/Help/release/3.16.rst @@ -113,7 +113,7 @@ Variables :prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` target property. * The :variable:`CMAKE_ECLIPSE_RESOURCE_ENCODING` variable was added to - specify the resource encoding for the the :generator:`Eclipse CDT4` extra + specify the resource encoding for the :generator:`Eclipse CDT4` extra generator. * The :variable:`CMAKE_UNITY_BUILD` variable was added to initialize the diff --git a/Modules/FindCurses.cmake b/Modules/FindCurses.cmake index de79bbbec8..c93cb8651a 100644 --- a/Modules/FindCurses.cmake +++ b/Modules/FindCurses.cmake @@ -57,7 +57,7 @@ Hints This module accepts the following variables: ``CURSES_NEED_NCURSES`` - Set this variable to ``TRUE`` before calling ``find_package(Curses)`` if the + Set this variable to ``TRUE`` before calling ``find_package(Curses)`` if the ncurses implementation functionality is specifically required. ``CURSES_NEED_WIDE`` diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake index 4400a05c4a..7db4fc6805 100644 --- a/Modules/FindLATEX.cmake +++ b/Modules/FindLATEX.cmake @@ -55,7 +55,7 @@ Supported components are: Finds the DVIPDF converter. ``PS2PDF`` - Finds the the PS2PDF converter. + Finds the PS2PDF converter. ``PDFTOPS`` Finds the PDF-to-PostScript converter. diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index ceae29b30b..6362edf2e4 100644 --- a/Modules/FindOpenGL.cmake +++ b/Modules/FindOpenGL.cmake @@ -96,7 +96,7 @@ provided: ``OpenGL::GLX`` .. versionadded:: 3.10 - Target encapsulating the usage requirements of the OpenGL Extension to the + Target encapsulating the usage requirements of the OpenGL Extension to the X Window System (GLX), available if OpenGL and GLX are found. ``OpenGL::EGL`` diff --git a/Modules/FindTIFF.cmake b/Modules/FindTIFF.cmake index c1fa7898d4..c2f598a38d 100644 --- a/Modules/FindTIFF.cmake +++ b/Modules/FindTIFF.cmake @@ -45,7 +45,7 @@ This module provides the following :ref:`Imported Targets`: ``TIFF::CXX`` .. versionadded:: 3.19 - Target encapsulating the usage requirements for the the C++ wrapper library + Target encapsulating the usage requirements for the C++ wrapper library ``libtiffxx``, available only if TIFF is found. This target provides CXX usage requirements only if the compiler is not MSVC. It also has the ``TIFF::TIFF`` target linked in to simplify its usage. diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index bd88d63f1e..d8b90e3203 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -2612,7 +2612,7 @@ bool cmCTestTestHandler::WriteJUnitXML() // be ok to put it here as a cmake-list. xml.Attribute("value", cmList::to_string(result.Properties->Labels)); // if we export more properties, this should be done the same way, - // i.e. prefix the property name with "cmake_", and it it can be + // i.e. prefix the property name with "cmake_", and it can be // a list, write it cmake-formatted. xml.EndElement(); // } diff --git a/Source/cmSarifLog.h b/Source/cmSarifLog.h index efdaf14f16..ec905a2a4c 100644 --- a/Source/cmSarifLog.h +++ b/Source/cmSarifLog.h @@ -198,7 +198,7 @@ private: // Mapping of rule IDs to rule indices in the log. // In SARIF, rule metadata is typically only included if the rule is - // referenced. The indices are unique to one log output and and vary + // referenced. The indices are unique to one log output and vary // depending on when the rule was first encountered. mutable std::unordered_map RuleToIndex; diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx index 5f10e02337..2cae6b4c1d 100644 --- a/Source/cmVisualStudioGeneratorOptions.cxx +++ b/Source/cmVisualStudioGeneratorOptions.cxx @@ -151,7 +151,7 @@ cmVisualStudioGeneratorOptions::GetCharSet() const void cmVisualStudioGeneratorOptions::FixCudaCodeGeneration() { - // Create an empty CodeGeneration field, and pass the the actual + // Create an empty CodeGeneration field, and pass the actual // compile flags via additional options so that we have consistent // behavior and avoid issues with MSBuild extensions injecting // virtual code when we request real only. diff --git a/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c b/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c index b41abc936a..2a2733327d 100644 --- a/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c +++ b/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c @@ -1,4 +1,4 @@ -/* Produce an error if if the object compiled from this source is used. */ +/* Produce an error if the object compiled from this source is used. */ extern int testStaticLibWithPlugin_linked_before_testStaticLibPlugin(void); int testStaticLibPlugin(void) { diff --git a/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad2.c b/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad2.c index 43337a540f..d2e8483ff0 100644 --- a/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad2.c +++ b/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad2.c @@ -1,4 +1,4 @@ -/* Produce an error if if the object compiled from this source is used. */ +/* Produce an error if the object compiled from this source is used. */ extern int testStaticLibWithPlugin_linked_before_testStaticLibPluginExtra( void); int testStaticLibPluginExtra(void) diff --git a/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix-build-final-check.cmake b/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix-build-final-check.cmake index 7a1d70ed1c..dda97c01a3 100644 --- a/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix-build-final-check.cmake +++ b/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix-build-final-check.cmake @@ -10,7 +10,7 @@ set(framework_release_path "${framework_dir}/Versions/A/${target_file_name}") # When using a multi config generator (like Ninja Multi-Config and Xcode), # the postfix will be applied to the debug framework library name and the symlink name. -# For single config generators, the name stays the same as the the release framework. +# For single config generators, the name stays the same as the release framework. if(is_multi_config) set(symlink_debug_path "${framework_dir}/${target_file_name}_debug") set(framework_debug_path "${framework_dir}/Versions/A/${target_file_name}_debug")