diff options
author | Brad King <brad.king@kitware.com> | 2021-05-10 14:12:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-05-10 14:13:06 (GMT) |
commit | 3928f31a26b64d0b2bb563cfa4857c33eef74146 (patch) | |
tree | f87ac906f56dc44fb34498b53e6c5aaf0e3eabe6 /Source | |
parent | b00a0e1d680810cdbf0efe654bbc1efae217e66b (diff) | |
parent | fd02f1010398c33854c0d73c781b3b3f770a774e (diff) | |
download | CMake-3928f31a26b64d0b2bb563cfa4857c33eef74146.zip CMake-3928f31a26b64d0b2bb563cfa4857c33eef74146.tar.gz CMake-3928f31a26b64d0b2bb563cfa4857c33eef74146.tar.bz2 |
Merge topic 'codespell'
fd02f10103 Xcode: Fix typos and spelling in error message
5950e54325 Source: Fix typos and spelling in comments
7072d83772 Help: Fix typos and spelling in documentation
03b1140ddc CONTRIBUTING: Fix typos and spelling
87f8843d8b FindMatlab: Fix spelling in warning and documentation
15cc39ed7f Modules: Fix typos and spelling in documentation
f015c36c5a Modules: Fix typos and spelling in comments of generated code
dad5b9d845 Modules: Fix typos and spelling in comments
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6099
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cmCPackDragNDropGenerator.cxx | 2 | ||||
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 2 | ||||
-rw-r--r-- | Source/cmGlobalBorlandMakefileGenerator.cxx | 2 | ||||
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 2 | ||||
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 | ||||
-rw-r--r-- | Source/cmLocalGenerator.cxx | 6 | ||||
-rw-r--r-- | Source/cmMakefile.cxx | 2 | ||||
-rw-r--r-- | Source/cmMakefile.h | 2 | ||||
-rw-r--r-- | Source/cmOrderDirectories.cxx | 2 | ||||
-rw-r--r-- | Source/cmSystemTools.h | 2 | ||||
-rw-r--r-- | Source/cmUVHandlePtr.cxx | 2 | ||||
-rw-r--r-- | Source/cmake.cxx | 2 | ||||
-rw-r--r-- | Source/cmcmd.cxx | 4 |
13 files changed, 16 insertions, 16 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx index 0d56e5f..b71c969 100644 --- a/Source/CPack/cmCPackDragNDropGenerator.cxx +++ b/Source/CPack/cmCPackDragNDropGenerator.cxx @@ -324,7 +324,7 @@ int cmCPackDragNDropGenerator::CreateDMG(const std::string& src_dir, staging << src_dir; // Add a symlink to /Applications so users can drag-and-drop the bundle - // into it unless this behaviour was disabled + // into it unless this behavior was disabled if (!cpack_dmg_disable_applications_symlink) { std::ostringstream application_link; application_link << staging.str() << "/Applications"; diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 5fbbef7..824f5ed 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -1097,7 +1097,7 @@ void cmExtraEclipseCDT4Generator::AppendStorageScanners( compiler = "gcc"; } - // the following right now hardcodes gcc behaviour :-/ + // the following right now hardcodes gcc behavior :-/ std::string compilerArgs = "-E -P -v -dD ${plugin_state_location}/${specs_file}"; if (!arg1.empty()) { diff --git a/Source/cmGlobalBorlandMakefileGenerator.cxx b/Source/cmGlobalBorlandMakefileGenerator.cxx index 996fcff..b7bac9c 100644 --- a/Source/cmGlobalBorlandMakefileGenerator.cxx +++ b/Source/cmGlobalBorlandMakefileGenerator.cxx @@ -30,7 +30,7 @@ cmGlobalBorlandMakefileGenerator::cmGlobalBorlandMakefileGenerator(cmake* cm) /* * Borland Make does not support long line depend rule, as we have tested * generate one source file includes 40000 header files, and generate - * depend.make in one line(use line continued tag), and error occured: + * depend.make in one line(use line continued tag), and error occurred: * ** Fatal CMakeFiles\main.dir\depend.make 1224: Rule line too long ** * we disable long line dependencies rule generation for Borland make */ diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 97384cd..248abff 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -147,7 +147,7 @@ void cmGlobalUnixMakefileGenerator3::Generate() // write each target's progress.make this loop is done twice. Basically the // Generate pass counts all the actions, the first loop below determines // how many actions have progress updates for each target and writes to - // corrrect variable values for everything except the all targets. The + // correct variable values for everything except the all targets. The // second loop actually writes out correct values for the all targets as // well. This is because the all targets require more information that is // computed in the first loop. diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index d6909c3..7a2343a 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -393,7 +393,7 @@ bool cmGlobalXCodeGenerator::ProcessGeneratorToolsetField( " ", this->GetName(), "\n" "toolset specification field\n" " buildsystem=", value, "\n" - "value is unkonwn. It must be '1' or '12'." + "value is unknown. It must be '1' or '12'." ); /* clang-format on */ mf->IssueMessage(MessageType::FATAL_ERROR, e); diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 21a9a44..b83a187 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1972,7 +1972,7 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags, } } - // Add VFS Overlay for Clang compiliers + // Add VFS Overlay for Clang compilers if (compiler == "Clang") { if (cmProp vfsOverlay = this->Makefile->GetDefinition("CMAKE_CLANG_VFS_OVERLAY")) { @@ -3931,7 +3931,7 @@ std::string ComputeCustomCommandRuleFileName(cmLocalGenerator& lg, // The output path contains a generator expression, but we must choose // a single source file path to which to attach the custom command. - // Use some heuristics to provie a nice-looking name when possible. + // Use some heuristics to provide a nice-looking name when possible. // If the only genex is $<CONFIG>, replace that gracefully. { @@ -4219,7 +4219,7 @@ std::vector<std::string> ComputeISPCObjectSuffixes(cmGeneratorTarget* target) auto pos = ispcTarget.find('-'); auto target_suffix = ispcTarget.substr(0, pos); if (target_suffix == - "avx1") { // when targetting avx1 ISPC uses the 'avx' output string + "avx1") { // when targeting avx1 ISPC uses the 'avx' output string target_suffix = "avx"; } ispcTarget = target_suffix; diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index dba8560..5a37bb9 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -800,7 +800,7 @@ void cmMakefile::RunListFile(cmListFile const& listFile, for (size_t i = 0; i < defer->Commands.size(); ++i) { DeferCommand& d = defer->Commands[i]; if (d.Id.empty()) { - // Cancelled. + // Canceled. continue; } // Mark as executed. diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 3c07808..77e9c74 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -993,7 +993,7 @@ private: struct DeferCommand { - // Id is empty for an already-executed or cancelled operation. + // Id is empty for an already-executed or canceled operation. std::string Id; std::string FilePath; cmListFileFunction Command; diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx index 68f40a9..37c4afc 100644 --- a/Source/cmOrderDirectories.cxx +++ b/Source/cmOrderDirectories.cxx @@ -512,7 +512,7 @@ void cmOrderDirectories::VisitDirectory(unsigned int i) } // Now that all directories required to come before this one have - // been emmitted, emit this directory. + // been emitted, emit this directory. this->OrderedDirectories.push_back(this->OriginalDirectories[i]); } diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 0aecf71..9f9c493 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -186,7 +186,7 @@ public: * * Output is controlled with outputflag. If outputflag is OUTPUT_NONE, no * user-viewable output from the program being run will be generated. - * OUTPUT_MERGE is the legacy behaviour where stdout and stderr are merged + * OUTPUT_MERGE is the legacy behavior where stdout and stderr are merged * into stdout. OUTPUT_FORWARD copies the output to stdout/stderr as * it was received. OUTPUT_PASSTHROUGH passes through the original handles. * diff --git a/Source/cmUVHandlePtr.cxx b/Source/cmUVHandlePtr.cxx index 8ea1942..e05b2d52 100644 --- a/Source/cmUVHandlePtr.cxx +++ b/Source/cmUVHandlePtr.cxx @@ -128,7 +128,7 @@ template <> struct uv_handle_deleter<uv_async_t> { /*** - * Wile uv_async_send is itself thread-safe, there are + * While uv_async_send is itself thread-safe, there are * no strong guarantees that close hasn't already been * called on the handle; and that it might be deleted * as the send call goes through. This mutex guards diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 4130f5f..a08babe 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -485,7 +485,7 @@ bool cmake::SetCacheArgs(const std::vector<std::string>& args) auto ScriptLambda = [&](std::string const& path, cmake* state) -> bool { // Register fake project commands that hint misuse in script mode. GetProjectCommandsInScriptMode(state->GetState()); - // Documented behaviour of CMAKE{,_CURRENT}_{SOURCE,BINARY}_DIR is to be + // Documented behavior of CMAKE{,_CURRENT}_{SOURCE,BINARY}_DIR is to be // set to $PWD for -P mode. state->SetHomeDirectory(cmSystemTools::GetCurrentWorkingDirectory()); state->SetHomeOutputDirectory(cmSystemTools::GetCurrentWorkingDirectory()); diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 2c2ae4d..30347f2 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -1936,8 +1936,8 @@ int cmcmd::RunLLVMRC(std::vector<std::string> const& args) skipNextArg = false; continue; } - // We use ++ as seperator between the preprocessing step definition and - // the rc compilation step becase we need to prepend a -- to seperate the + // We use ++ as separator between the preprocessing step definition and + // the rc compilation step because we need to prepend a -- to separate the // source file properly from other options when using clang-cl for // preprocessing. if (arg == "++") { |