From 4d9259c15b345263705e028092dca2c09a13a220 Mon Sep 17 00:00:00 2001 From: Amitha Perera Date: Wed, 9 Jan 2008 22:09:19 -0500 Subject: [PATCH] STYLE: Spelling fixes on documentation --- Source/cmAddExecutableCommand.h | 4 ++-- Source/cmConfigureFileCommand.h | 2 +- Source/cmDocumentation.cxx | 2 +- Source/cmEnableLanguageCommand.h | 2 +- Source/cmFindBase.cxx | 2 +- Source/cmMakefile.cxx | 2 +- Source/cmSourceFile.cxx | 8 ++++---- Source/cmStringCommand.h | 2 +- Source/cmTarget.cxx | 8 ++++---- Source/cmTest.cxx | 8 ++++---- Source/cmTryCompileCommand.h | 2 +- Source/cmVariableWatchCommand.h | 2 +- Source/cmWhileCommand.h | 2 +- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h index 2e7874266..5f4383a71 100644 --- a/Source/cmAddExecutableCommand.h +++ b/Source/cmAddExecutableCommand.h @@ -73,8 +73,8 @@ public: "(using main). The variable CMAKE_MFC_FLAG be used if the windows app " "uses MFC. This variable can be set to the following values:\n" " 0: Use Standard Windows Libraries\n" - " 1: Use MFC in a Static Library \n" - " 2: Use MFC in a Shared DLL \n" + " 1: Use MFC in a Static Library\n" + " 2: Use MFC in a Shared DLL\n" "MACOSX_BUNDLE indicates that when build on Mac OSX, executable should " "be in the bundle form. The MACOSX_BUNDLE also allows several " "variables to be specified:\n" diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h index 90228ebf8..78485cd3b 100644 --- a/Source/cmConfigureFileCommand.h +++ b/Source/cmConfigureFileCommand.h @@ -61,7 +61,7 @@ public: return " configure_file(InputFile OutputFile\n" " [COPYONLY] [ESCAPE_QUOTES] [@ONLY])\n" - "The Input and Ouput files have to have full paths. " + "The Input and Output files have to have full paths. " "This command replaces any variables in the input file referenced as " "${VAR} or @VAR@ with their values as determined by CMake. If a " "variable is not defined, it will be replaced with nothing. " diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 7fbdfda1b..4e0177f57 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -84,7 +84,7 @@ static const char *cmPropertiesDocumentationDescription[][3] = "This is the documentation for the properties supported by CMake. " "Properties can have different scopes. They can either be assigned to a " "source file, a directory, a target or globally to CMake. By modifying the " - "values of properties the behaviour of the buildsystem can be customized.", + "values of properties the behaviour of the build system can be customized.", 0}, {0,0,0} }; diff --git a/Source/cmEnableLanguageCommand.h b/Source/cmEnableLanguageCommand.h index a5422041d..242e47cdf 100644 --- a/Source/cmEnableLanguageCommand.h +++ b/Source/cmEnableLanguageCommand.h @@ -66,7 +66,7 @@ public: " enable_language(languageName [OPTIONAL] )\n" "This command enables support for the named language in CMake. " "This is the same as the project command but does not create " - "any of the extra varaibles that are created by the project command. " + "any of the extra variables that are created by the project command. " "Example languages are CXX, C, Fortran.\n" "If OPTIONAL is used, use the CMAKE__COMPILER_WORKS " "variable to check whether the language has been enabled successfully."; diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index bfe9ee91e..d8e218d4a 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -44,7 +44,7 @@ cmFindBase::cmFindBase() "is sufficient in many cases. It is the same " "as FIND_XXX( name1 PATHS path2 path2 ...)\n" " FIND_XXX(\n" - " \n" + " \n" " name | NAMES name1 [name2 ...]\n" " PATHS path1 [path2 ... ENV var]\n" " [PATH_SUFFIXES suffix1 [suffix2 ...]]\n" diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c74cf4d86..1b3ca61dc 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2889,7 +2889,7 @@ void cmMakefile::DefineProperties(cmake *cm) { cm->DefineProperty ("ADDITIONAL_MAKE_CLEAN_FILES", cmProperty::DIRECTORY, - "Addditional files to clean during the make clean stage.", + "Additional files to clean during the make clean stage.", "A list of files that will be cleaned as a part of the " "\"make clean\" stage. "); diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx index a68543581..a8f9285a2 100644 --- a/Source/cmSourceFile.cxx +++ b/Source/cmSourceFile.cxx @@ -331,10 +331,10 @@ void cmSourceFile::DefineProperties(cmake *cm) cm->DefineProperty ("ABSTRACT", cmProperty::SOURCE_FILE, "Is this source file an abstract class.", - "A property ona source file that indicates if the source file " + "A property on a source file that indicates if the source file " "represents a class that is abstract. This only makes sense for " "languages that have a notion of an abstract class and it is " - "only used by somw tools that wrap classes into other languages."); + "only used by some tools that wrap classes into other languages."); cm->DefineProperty ("COMPILE_FLAGS", cmProperty::SOURCE_FILE, @@ -366,7 +366,7 @@ void cmSourceFile::DefineProperties(cmake *cm) cm->DefineProperty ("HEADER_FILE_ONLY", cmProperty::SOURCE_FILE, "Is this source file only a header file.", - "A property ona source file that indicates if the source file " + "A property on a source file that indicates if the source file " "is a header file with no associated implementation. This is " "set automatically based on the file extension and is used by " "CMake to determine is certain dependency information should be " @@ -374,7 +374,7 @@ void cmSourceFile::DefineProperties(cmake *cm) cm->DefineProperty ("KEEP_EXTENSION", cmProperty::SOURCE_FILE, - "Make th eoutput file have the same extension as the source file.", + "Make the output file have the same extension as the source file.", "If this property is set then the file extension of the output " "file will be the same as that of the source file. Normally " "the output file extension is computed based on the language " diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h index 6a415d4c5..f0b7c9e43 100644 --- a/Source/cmStringCommand.h +++ b/Source/cmStringCommand.h @@ -104,7 +104,7 @@ public: "subexpressions of the match using \\1, \\2, ..., \\9. Note that " "two backslashes (\\\\1) are required in CMake code to get a " "backslash through argument parsing.\n" - "REPLACE will replace all occurences of match_string in the input with " + "REPLACE will replace all occurrences of match_string in the input with " "replace_string and store the result in the output.\n" "COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and " "store true or false in the output variable.\n" diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 14922c78d..4f0c5aca8 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -54,7 +54,7 @@ void cmTarget::DefineProperties(cmake *cm) cm->DefineProperty ("CLEAN_DIRECT_OUTPUT", cmProperty::TARGET, - "Do not delete other varients of this target.", + "Do not delete other variants of this target.", "When a library is built CMake by default generates code to remove " "any existing library using all possible names. This is needed " "to support libraries that switch between STATIC and SHARED by " @@ -65,7 +65,7 @@ void cmTarget::DefineProperties(cmake *cm) cm->DefineProperty ("COMPILE_FLAGS", cmProperty::TARGET, - "Additional flags to yse when compiling this target's sources.", + "Additional flags to use when compiling this target's sources.", "The COMPILE_FLAGS property sets additional compiler flags used " "to build sources within the target. It may also be used to pass " "additional preprocessor definitions."); @@ -84,7 +84,7 @@ void cmTarget::DefineProperties(cmake *cm) cm->DefineProperty ("DEBUG_POSTFIX", cmProperty::TARGET, "A postfix that will be applied to this target when build debug.", - "A property on a target that sepcifies a postfix to add to the " + "A property on a target that specifies a postfix to add to the " "target name when built in debug mode. For example foo.dll " "versus fooD.dll"); @@ -175,7 +175,7 @@ void cmTarget::DefineProperties(cmake *cm) ("LOCATION", cmProperty::TARGET, "Where a target will be written on disk.", "A read only property on a target that indicates where that target " - "will be written. For libraries and execuatables this will be where " + "will be written. For libraries and executables this will be where " "the file is written on disk. This property is computed based on a " "number of other settings."); diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx index 2e0b92b79..11c6a8c80 100644 --- a/Source/cmTest.cxx +++ b/Source/cmTest.cxx @@ -98,14 +98,14 @@ void cmTest::DefineProperties(cmake *cm) // define properties cm->DefineProperty ("FAIL_REGULAR_EXPRESSION", cmProperty::TEST, - "If the output matches this regular expression tes test will fail.", + "If the output matches this regular expression the test will fail.", "If set, if the output matches one of " "specified regular expressions, the test will fail." "For example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\""); cm->DefineProperty ("MEASUREMENT", cmProperty::TEST, - "Specify a DART meansurement and value to be reported for a test.", + "Specify a DART measurement and value to be reported for a test.", "If set to a name then that name will be reported to DART as a " "named measurement with a value of 1. You may also specify a value " "by setting MEASUREMENT to \"measurement=value\"."); @@ -120,11 +120,11 @@ void cmTest::DefineProperties(cmake *cm) cm->DefineProperty ("TIMEOUT", cmProperty::TEST, "How many seconds to allow for this test.", - "This property if set will limit a test to nto take more than " + "This property if set will limit a test to not take more than " "the specified number of seconds to run. If it exceeds that the " "test process will be killed and ctest will move to the next test. " "This setting takes precedence over DART_TESTING_TIMEOUT and " - "CTEST_TESTING_TIMOUT."); + "CTEST_TESTING_TIMEOUT."); cm->DefineProperty ("WILL_FAIL", cmProperty::TEST, diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h index fecefe122..27a65abb5 100644 --- a/Source/cmTryCompileCommand.h +++ b/Source/cmTryCompileCommand.h @@ -74,7 +74,7 @@ public: " [COPY_FILE )\n" "Try compiling a srcfile. In this case, the user need only supply a " "source file. CMake will create the appropriate CMakeLists.txt file " - "to build the source. If COPY_FILE is used, the compiled file will be" + "to build the source. If COPY_FILE is used, the compiled file will be " "copied to the given file.\n" "In this version all files in bindir/CMakeFiles/CMakeTmp, " "will be cleaned automatically, for debugging a --debug-trycompile can " diff --git a/Source/cmVariableWatchCommand.h b/Source/cmVariableWatchCommand.h index 031102e19..db7a4d07e 100644 --- a/Source/cmVariableWatchCommand.h +++ b/Source/cmVariableWatchCommand.h @@ -76,7 +76,7 @@ public: return " variable_watch( [])\n" "If the specified variable changes, the message will be printed about " - "the variable being changed. If the command is spceified, the command " + "the variable being changed. If the command is specified, the command " "will be executed. The command will receive the following arguments:" " COMMAND( )"; } diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h index cff9f5aa2..a934db4c1 100644 --- a/Source/cmWhileCommand.h +++ b/Source/cmWhileCommand.h @@ -103,7 +103,7 @@ public: "All commands between while and the matching endwhile are recorded " "without being invoked. Once the endwhile is evaluated, the " "recorded list of commands is invoked as long as the condition " - "is true. The condition is evaulated using the same logic as the " + "is true. The condition is evaluated using the same logic as the " "if command."; }