summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-02-14 09:54:15 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2003-02-14 09:54:15 -0500
commitae5a80c7958c28dd273631f6869b05db599852b7 (patch)
treed07efa3d896111a41d20d2d6d86345cb96c3d5db
parenta410fdef6086083a2a2e5be191b19fd02707c607 (diff)
downloadcmake-ae5a80c7958c28dd273631f6869b05db599852b7.tar.gz
spelling errors
-rw-r--r--Modules/TestForANSIForScope.cmake4
-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
11 files changed, 22 insertions, 22 deletions
diff --git a/Modules/TestForANSIForScope.cmake b/Modules/TestForANSIForScope.cmake
index 5326f86a70..75c18d2a8d 100644
--- a/Modules/TestForANSIForScope.cmake
+++ b/Modules/TestForANSIForScope.cmake
@@ -4,7 +4,7 @@
# CMAKE_NO_STD_NAMESPACE - defined accoreding to the results
#
-IF("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
+#IF("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
MESSAGE(STATUS "Check for ANSI scope")
TRY_COMPILE(CMAKE_ANSI_FOR_SCOPE ${CMAKE_BINARY_DIR}
${CMAKE_ROOT}/Modules/TestForAnsiForScope.cxx)
@@ -17,7 +17,7 @@ IF("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
SET (CMAKE_NO_ANSI_FOR_SCOPE 1 CACHE INTERNAL
"Does the compiler support ansi for scope.")
ENDIF (CMAKE_ANSI_FOR_SCOPE)
-ENDIF("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
+#ENDIF("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 92a04cf0c5..581f1188fc 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 63cbfb9049..d34586dc52 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 ba743a801b..9e19a6f5ba 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 6f57f3d308..b1159dfb81 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 d04798c1eb..92e4183fbd 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 2b7d91f2be..0d9ca161f1 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 cca9d537f4..defaf61bbe 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 a8755be12a..734865efd8 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 81e1f860b0..894e7740de 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 d865dff1a6..896cfe2603 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. ";
}