summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-02-14 14:54:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-02-14 14:54:15 (GMT)
commitae5a80c7958c28dd273631f6869b05db599852b7 (patch)
treed07efa3d896111a41d20d2d6d86345cb96c3d5db /Source
parenta410fdef6086083a2a2e5be191b19fd02707c607 (diff)
downloadCMake-ae5a80c7958c28dd273631f6869b05db599852b7.zip
CMake-ae5a80c7958c28dd273631f6869b05db599852b7.tar.gz
CMake-ae5a80c7958c28dd273631f6869b05db599852b7.tar.bz2
spelling errors
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCacheManager.cxx2
-rw-r--r--Source/cmConfigureFileCommand.cxx2
-rw-r--r--Source/cmConfigureFileCommand.h2
-rw-r--r--Source/cmIncludeCommand.h2
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx4
-rw-r--r--Source/cmMakefile.h4
-rw-r--r--Source/cmMarkAsAdvancedCommand.h2
-rw-r--r--Source/cmUseMangledMesaCommand.cxx2
-rw-r--r--Source/cmVariableRequiresCommand.cxx14
-rw-r--r--Source/cmVariableRequiresCommand.h6
10 files changed, 20 insertions, 20 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 92a04cf..581f118 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -303,7 +303,7 @@ bool cmCacheManager::SaveCache(const char* path)
<< "# If you do want to change a value, simply edit, save, and exit the editor.\n"
<< "# The syntax for the file is as follows:\n"
<< "# KEY:TYPE=VALUE\n"
- << "# KEY is the name of a varible in the cache.\n"
+ << "# KEY is the name of a variable in the cache.\n"
<< "# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.\n"
<< "# VALUE is the current value for the KEY.\n\n";
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index 63cbfb9..d34586d 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -103,7 +103,7 @@ void cmConfigureFileCommand::ConfigureFile()
return;
}
- // now copy input to output and expand varibles in the
+ // now copy input to output and expand variables in the
// input file at the same time
const int bufSize = 4096;
char buffer[bufSize];
diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h
index ba743a8..9e19a6f 100644
--- a/Source/cmConfigureFileCommand.h
+++ b/Source/cmConfigureFileCommand.h
@@ -59,7 +59,7 @@ public:
"This command replaces any variables in the input file with their "
"values as determined by CMake. If a variables in not defined, it "
"will be replaced with nothing. If COPYONLY is passed in, then "
- "then no varible expansion will take place. If ESCAPE_QUOTES is "
+ "then no variable expansion will take place. If ESCAPE_QUOTES is "
"passed in then any substitued quotes will be C style escaped. "
"If IMMEDIATE is specified, then the file will be configured with "
"the current values of CMake variables instead of waiting until the "
diff --git a/Source/cmIncludeCommand.h b/Source/cmIncludeCommand.h
index 6f57f3d..b1159df 100644
--- a/Source/cmIncludeCommand.h
+++ b/Source/cmIncludeCommand.h
@@ -61,7 +61,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Basically identical to a C #include \"somthing\" command.";
+ return "Basically identical to a C #include \"something\" command.";
}
/**
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index d04798c..92e4183 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -2737,13 +2737,13 @@ cmLocalUnixMakefileGenerator::CreateMakeVariable(const char* s, const char* s2)
}
if(ni == 1000)
{
- cmSystemTools::Error("Borland makefile varible length too long");
+ cmSystemTools::Error("Borland makefile variable length too long");
return unmodified;
}
// once an unused variable is found
m_ShortMakeVariableMap[ret] = "1";
}
- // always make an entry into the unmodified to varible map
+ // always make an entry into the unmodified to variable map
m_MakeVariableMap[unmodified] = ret;
return ret;
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 2b7d91f..0d9ca16 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -481,8 +481,8 @@ public:
{ m_ListFiles.push_back(file);}
/**
- * Expand all defined varibles in the string.
- * Defined varibles come from the m_Definitions map.
+ * Expand all defined variables in the string.
+ * Defined variables come from the m_Definitions map.
* They are expanded with ${var} where var is the
* entry in the m_Definitions map. Also @var@ is
* expanded to match autoconf style expansions.
diff --git a/Source/cmMarkAsAdvancedCommand.h b/Source/cmMarkAsAdvancedCommand.h
index cca9d53..defaf61 100644
--- a/Source/cmMarkAsAdvancedCommand.h
+++ b/Source/cmMarkAsAdvancedCommand.h
@@ -58,7 +58,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Mark a cmake varible as advanced.";
+ return "Mark a cmake variable as advanced.";
}
/**
diff --git a/Source/cmUseMangledMesaCommand.cxx b/Source/cmUseMangledMesaCommand.cxx
index a8755be..734865e 100644
--- a/Source/cmUseMangledMesaCommand.cxx
+++ b/Source/cmUseMangledMesaCommand.cxx
@@ -87,7 +87,7 @@ CopyAndFullPathMesaHeader(const char* source,
source);
return;
}
- // now copy input to output and expand varibles in the
+ // now copy input to output and expand variables in the
// input file at the same time
const int bufSize = 4096;
char buffer[bufSize];
diff --git a/Source/cmVariableRequiresCommand.cxx b/Source/cmVariableRequiresCommand.cxx
index 81e1f86..894e774 100644
--- a/Source/cmVariableRequiresCommand.cxx
+++ b/Source/cmVariableRequiresCommand.cxx
@@ -31,12 +31,12 @@ bool cmVariableRequiresCommand::InitialPass(std::vector<std::string> const& args
void cmVariableRequiresCommand::FinalPass()
{
- std::string testVarible = m_Arguments[0];
- if(!m_Makefile->IsOn(testVarible.c_str()))
+ std::string testVariable = m_Arguments[0];
+ if(!m_Makefile->IsOn(testVariable.c_str()))
{
return;
}
- std::string resultVarible = m_Arguments[1];
+ std::string resultVariable = m_Arguments[1];
bool requirementsMet = true;
std::string notSet;
bool hasAdvanced = false;
@@ -55,22 +55,22 @@ void cmVariableRequiresCommand::FinalPass()
}
}
}
- const char* reqVar = m_Makefile->GetDefinition(resultVarible.c_str());
+ const char* reqVar = m_Makefile->GetDefinition(resultVariable.c_str());
// if reqVar is unset, then set it to requirementsMet
// if reqVar is set to true, but requirementsMet is false , then
// set reqVar to false.
if(!reqVar || (!requirementsMet && m_Makefile->IsOn(reqVar)))
{
- m_Makefile->AddDefinition(resultVarible.c_str(), requirementsMet);
+ m_Makefile->AddDefinition(resultVariable.c_str(), requirementsMet);
}
if(!requirementsMet)
{
std::string message = "Variable assertion failed:\n";
- message += testVarible + " Requires that the following unset varibles are set:\n";
+ message += testVariable + " Requires that the following unset variables are set:\n";
message += notSet;
message += "\nPlease set them, or set ";
- message += testVarible + " to false, and re-configure.\n";
+ message += testVariable + " to false, and re-configure.\n";
if(hasAdvanced)
{
message += "One or more of the required variables is advanced. To set the variable, you must turn on advanced mode in cmake.";
diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h
index d865dff..896cfe2 100644
--- a/Source/cmVariableRequiresCommand.h
+++ b/Source/cmVariableRequiresCommand.h
@@ -64,13 +64,13 @@ public:
return
"VARIABLE_REQUIRES(TEST_VARIABLE RESULT_VARIABLE "
"REQUIRED_VARIABLE1 REQUIRED_VARIABLE2 ...) "
- "The first argument (TEST_VARIABLE) is the name of the varible to be "
- "tested, if that varible is false nothing else is done. If "
+ "The first argument (TEST_VARIABLE) is the name of the variable to be "
+ "tested, if that variable is false nothing else is done. If "
"TEST_VARIABLE is true, then "
"the next arguemnt (RESULT_VARIABLE) is a vairable that is set to true "
"if all the "
"required variables are set."
- "The rest of the arguments are varibles that must be true or not "
+ "The rest of the arguments are variables that must be true or not "
"set to NOTFOUND to avoid an error. ";
}