mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 11:04:33 +00:00
codespell: Fix typos
This commit is contained in:
parent
ebd038613e
commit
7605228f5e
@ -5,4 +5,4 @@ check-hidden =
|
||||
quiet-level = 2
|
||||
builtin = clear,rare,en-GB_to_en-US
|
||||
skip = */.git,*/build,*/Copyright.txt,*/CTestCustom.cmake.in,*/doxygen.config,*/Modules/Internal/CPack/NSIS.template.in,*/Source/CursesDialog/form/*,*/Source/kwsys/*,*/Tests/RunCMake/CPack/tests/DMG_SLA/German.*,*/Tests/RunCMake/ParseImplicitData/*.input,*/Tests/StringFileTest/test.utf8,*.pfx,*/Utilities/cm*
|
||||
ignore-words-list = aci,ags,ake,ans,ba,ccompiler,cconfiguration,certi,conly,dependees,dne,dum,earch,ect,filetest,fo,helpfull,hiden,isnt,keypair,nd,ned,nin,nknown,ot,pard,seh,ser,te,upto,varn,vas,wee
|
||||
ignore-words-list = aci,ags,ake,ans,ba,ccompiler,cconfiguration,certi,conly,copyin,dependees,dne,dum,earch,ect,filetest,fo,helpfull,hiden,isnt,keypair,nd,ned,nin,nknown,ot,pard,sectionin,seh,ser,te,upto,varn,vas,wee
|
||||
|
||||
@ -3,7 +3,7 @@ CMAKE_FIND_PACKAGE_TARGETS_GLOBAL
|
||||
|
||||
.. versionadded:: 3.24
|
||||
|
||||
Setting to ``TRUE`` promotes all :prop_tgt:`IMPORTED` targets discoverd
|
||||
Setting to ``TRUE`` promotes all :prop_tgt:`IMPORTED` targets discovered
|
||||
by :command:`find_package` to a ``GLOBAL`` scope.
|
||||
|
||||
|
||||
|
||||
@ -1093,7 +1093,7 @@ endif()
|
||||
|
||||
# Set the CUDA_LIBRARIES variable. This is the set of stuff to link against if you are
|
||||
# using the CUDA runtime. For the dynamic version of the runtime, most of the
|
||||
# dependencies are brough in, but for the static version there are additional libraries
|
||||
# dependencies are brought in, but for the static version there are additional libraries
|
||||
# and linker commands needed.
|
||||
# Initialize to empty
|
||||
set(CUDA_LIBRARIES)
|
||||
@ -1449,7 +1449,7 @@ function(CUDA_COMPUTE_BUILD_PATH path build_path)
|
||||
# Avoid spaces
|
||||
string(REPLACE " " "_" bpath "${bpath}")
|
||||
|
||||
# Strip off the filename. I wait until here to do it, since removin the
|
||||
# Strip off the filename. I wait until here to do it, since removing the
|
||||
# basename can make a path that looked like path/../basename turn into
|
||||
# path/.. (notice the trailing slash).
|
||||
get_filename_component(bpath "${bpath}" PATH)
|
||||
|
||||
@ -238,7 +238,7 @@ function(cpack_deb_prepare_package_vars)
|
||||
endforeach()
|
||||
|
||||
# Only dynamically linked ELF files are included
|
||||
# Extract only file name infront of ":"
|
||||
# Extract only file name in front of ":"
|
||||
foreach(_FILE IN LISTS CPACK_DEB_INSTALL_FILES)
|
||||
if(_FILE MATCHES "ELF.*dynamically linked")
|
||||
string(REGEX MATCH "(^.*):" _FILE_NAME "${_FILE}")
|
||||
|
||||
@ -67,7 +67,7 @@ public:
|
||||
void AddConfigurationScript(const std::string&, bool pscope);
|
||||
|
||||
/**
|
||||
* Run a dashboard using a specified confiuration script
|
||||
* Run a dashboard using a specified configuration script
|
||||
*/
|
||||
int ProcessHandler() override;
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ public:
|
||||
*/
|
||||
void PopulateCustomVectors(cmMakefile* mf) override;
|
||||
|
||||
//! Control the use of the regular expresisons, call these methods to turn
|
||||
//! Control the use of the regular expressions, call these methods to turn
|
||||
/// them on
|
||||
void UseIncludeRegExp();
|
||||
void UseExcludeRegExp();
|
||||
|
||||
@ -4469,8 +4469,8 @@ static const struct ShellPathNode : public cmGeneratorExpressionNode
|
||||
const GeneratorExpressionContent* content,
|
||||
cmGeneratorExpressionDAGChecker* /*dagChecker*/) const override
|
||||
{
|
||||
cmList listIn{ parameters.front() };
|
||||
if (listIn.empty()) {
|
||||
cmList list_in{ parameters.front() };
|
||||
if (list_in.empty()) {
|
||||
reportError(context, content->GetOriginalExpression(),
|
||||
"\"\" is not an absolute path.");
|
||||
return std::string();
|
||||
@ -4478,17 +4478,17 @@ static const struct ShellPathNode : public cmGeneratorExpressionNode
|
||||
cmStateSnapshot snapshot = context->LG->GetStateSnapshot();
|
||||
cmOutputConverter converter(snapshot);
|
||||
const char* separator = snapshot.GetState()->UseWindowsShell() ? ";" : ":";
|
||||
std::vector<std::string> listOut;
|
||||
listOut.reserve(listIn.size());
|
||||
for (auto const& in : listIn) {
|
||||
std::vector<std::string> list_out;
|
||||
list_out.reserve(list_in.size());
|
||||
for (auto const& in : list_in) {
|
||||
if (!cmSystemTools::FileIsFullPath(in)) {
|
||||
reportError(context, content->GetOriginalExpression(),
|
||||
"\"" + in + "\" is not an absolute path.");
|
||||
return std::string();
|
||||
}
|
||||
listOut.emplace_back(converter.ConvertDirectorySeparatorsForShell(in));
|
||||
list_out.emplace_back(converter.ConvertDirectorySeparatorsForShell(in));
|
||||
}
|
||||
return cmJoin(listOut, separator);
|
||||
return cmJoin(list_out, separator);
|
||||
}
|
||||
} shellPathNode;
|
||||
|
||||
|
||||
@ -1090,7 +1090,7 @@
|
||||
{
|
||||
"name": "GenerateModuleDependencies",
|
||||
"switch": "sourceDependencies:directives",
|
||||
"comment": "Generate Module Dependenices File",
|
||||
"comment": "Generate Module Dependencies File",
|
||||
"value": "true",
|
||||
"flags": [
|
||||
"Continue"
|
||||
|
||||
@ -1092,7 +1092,7 @@
|
||||
{
|
||||
"name": "GenerateModuleDependencies",
|
||||
"switch": "sourceDependencies:directives",
|
||||
"comment": "Generate Module Dependenices File",
|
||||
"comment": "Generate Module Dependencies File",
|
||||
"value": "true",
|
||||
"flags": [
|
||||
"Continue"
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
! This module has two procedures from the "parent" module
|
||||
! but it has different combinations 'module <word>' phrases
|
||||
! in breaked lines for test of modules dependencies detection
|
||||
! in broken lines for test of modules dependencies detection
|
||||
|
||||
! Module declaration on breaked line with reminder
|
||||
! Module declaration on broken line with reminder
|
||||
module &
|
||||
obfuscated_parent; implicit none
|
||||
|
||||
|
||||
@ -101,7 +101,7 @@ function(getMissingShlibsErrorExtra FILE RESULT_VAR)
|
||||
string(APPEND error_extra "; readelf \"\n")
|
||||
|
||||
# Only dynamically linked ELF files are included
|
||||
# Extract only file name infront of ":"
|
||||
# Extract only file name in front of ":"
|
||||
foreach(_FILE IN LISTS deb_install_files)
|
||||
if(_FILE MATCHES "ELF.*shared object")
|
||||
string(REGEX MATCH "(^.*):" _FILE_NAME "${_FILE}")
|
||||
|
||||
@ -173,7 +173,7 @@ This phase is executed if '<test_name>/VerifyResult.cmake' script exists.
|
||||
VerifyResult.cmake script also automatically prints out standard output and
|
||||
standard error from CPack execution phase that is compared with
|
||||
'<test_name>/<generator_name>-stdout.txt' regular expression and
|
||||
'<test_name>/<generator_name>-stderr.txt' regular expresson respectively.
|
||||
'<test_name>/<generator_name>-stderr.txt' regular expression respectively.
|
||||
NOTE: For subtests generator name can also be suffixed with subtest name and/or
|
||||
packaging type (MONOLITHIC, COMPONENT, GROUP) and in such cases the
|
||||
preferences of which file will be used are as follows:
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
Unable to find executable:.*MyThirdPartyDependency/src(/[^/
|
||||
]+)?/thirdparty
|
||||
]+)?/third_party
|
||||
|
||||
@ -3,8 +3,8 @@ project(MyThirdPartyDependency)
|
||||
|
||||
include(CTest)
|
||||
|
||||
add_executable(thirdparty thirdparty.c)
|
||||
add_test(NAME thirdparty COMMAND thirdparty)
|
||||
add_executable(third_party third_party.c)
|
||||
add_test(NAME third_party COMMAND third_party)
|
||||
|
||||
set_property(TARGET thirdparty PROPERTY LABELS NotASubproject)
|
||||
set_property(TEST thirdparty PROPERTY LABELS NotASubproject)
|
||||
set_property(TARGET third_party PROPERTY LABELS NotASubproject)
|
||||
set_property(TEST third_party PROPERTY LABELS NotASubproject)
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
# ownership
|
||||
# A git author name/email for the commits.
|
||||
# subtree
|
||||
# The location of the thirdparty package within the main source
|
||||
# The location of the third-party package within the main source
|
||||
# tree.
|
||||
# repo
|
||||
# The git repository to use as upstream.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user