STYLE: Spelling fixes on documentation

This commit is contained in:
Amitha Perera 2008-01-09 22:09:19 -05:00
parent acb27977f0
commit 4d9259c15b
13 changed files with 23 additions and 23 deletions

View File

@ -61,7 +61,7 @@ public:
return return
" configure_file(InputFile OutputFile\n" " configure_file(InputFile OutputFile\n"
" [COPYONLY] [ESCAPE_QUOTES] [@ONLY])\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 " "This command replaces any variables in the input file referenced as "
"${VAR} or @VAR@ with their values as determined by CMake. If a " "${VAR} or @VAR@ with their values as determined by CMake. If a "
"variable is not defined, it will be replaced with nothing. " "variable is not defined, it will be replaced with nothing. "

View File

@ -66,7 +66,7 @@ public:
" enable_language(languageName [OPTIONAL] )\n" " enable_language(languageName [OPTIONAL] )\n"
"This command enables support for the named language in CMake. " "This command enables support for the named language in CMake. "
"This is the same as the project command but does not create " "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" "Example languages are CXX, C, Fortran.\n"
"If OPTIONAL is used, use the CMAKE_<languageName>_COMPILER_WORKS " "If OPTIONAL is used, use the CMAKE_<languageName>_COMPILER_WORKS "
"variable to check whether the language has been enabled successfully."; "variable to check whether the language has been enabled successfully.";

View File

@ -2889,7 +2889,7 @@ void cmMakefile::DefineProperties(cmake *cm)
{ {
cm->DefineProperty cm->DefineProperty
("ADDITIONAL_MAKE_CLEAN_FILES", cmProperty::DIRECTORY, ("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 " "A list of files that will be cleaned as a part of the "
"\"make clean\" stage. "); "\"make clean\" stage. ");

View File

@ -334,7 +334,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"A property on a 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 " "represents a class that is abstract. This only makes sense for "
"languages that have a notion of an abstract class and it is " "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 cm->DefineProperty
("COMPILE_FLAGS", cmProperty::SOURCE_FILE, ("COMPILE_FLAGS", cmProperty::SOURCE_FILE,

View File

@ -104,7 +104,7 @@ public:
"subexpressions of the match using \\1, \\2, ..., \\9. Note that " "subexpressions of the match using \\1, \\2, ..., \\9. Note that "
"two backslashes (\\\\1) are required in CMake code to get a " "two backslashes (\\\\1) are required in CMake code to get a "
"backslash through argument parsing.\n" "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" "replace_string and store the result in the output.\n"
"COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and " "COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and "
"store true or false in the output variable.\n" "store true or false in the output variable.\n"

View File

@ -54,7 +54,7 @@ void cmTarget::DefineProperties(cmake *cm)
cm->DefineProperty cm->DefineProperty
("CLEAN_DIRECT_OUTPUT", cmProperty::TARGET, ("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 " "When a library is built CMake by default generates code to remove "
"any existing library using all possible names. This is needed " "any existing library using all possible names. This is needed "
"to support libraries that switch between STATIC and SHARED by " "to support libraries that switch between STATIC and SHARED by "
@ -65,7 +65,7 @@ void cmTarget::DefineProperties(cmake *cm)
cm->DefineProperty cm->DefineProperty
("COMPILE_FLAGS", cmProperty::TARGET, ("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 " "The COMPILE_FLAGS property sets additional compiler flags used "
"to build sources within the target. It may also be used to pass " "to build sources within the target. It may also be used to pass "
"additional preprocessor definitions."); "additional preprocessor definitions.");
@ -84,7 +84,7 @@ void cmTarget::DefineProperties(cmake *cm)
cm->DefineProperty cm->DefineProperty
("DEBUG_POSTFIX", cmProperty::TARGET, ("DEBUG_POSTFIX", cmProperty::TARGET,
"A postfix that will be applied to this target when build debug.", "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 " "target name when built in debug mode. For example foo.dll "
"versus fooD.dll"); "versus fooD.dll");
@ -175,7 +175,7 @@ void cmTarget::DefineProperties(cmake *cm)
("LOCATION", cmProperty::TARGET, ("LOCATION", cmProperty::TARGET,
"Where a target will be written on disk.", "Where a target will be written on disk.",
"A read only property on a target that indicates where that target " "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 " "the file is written on disk. This property is computed based on a "
"number of other settings."); "number of other settings.");

View File

@ -98,14 +98,14 @@ void cmTest::DefineProperties(cmake *cm)
// define properties // define properties
cm->DefineProperty cm->DefineProperty
("FAIL_REGULAR_EXPRESSION", cmProperty::TEST, ("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 " "If set, if the output matches one of "
"specified regular expressions, the test will fail." "specified regular expressions, the test will fail."
"For example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\""); "For example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"");
cm->DefineProperty cm->DefineProperty
("MEASUREMENT", cmProperty::TEST, ("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 " "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 " "named measurement with a value of 1. You may also specify a value "
"by setting MEASUREMENT to \"measurement=value\"."); "by setting MEASUREMENT to \"measurement=value\".");
@ -120,11 +120,11 @@ void cmTest::DefineProperties(cmake *cm)
cm->DefineProperty cm->DefineProperty
("TIMEOUT", cmProperty::TEST, ("TIMEOUT", cmProperty::TEST,
"How many seconds to allow for this 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 " "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. " "test process will be killed and ctest will move to the next test. "
"This setting takes precedence over DART_TESTING_TIMEOUT and " "This setting takes precedence over DART_TESTING_TIMEOUT and "
"CTEST_TESTING_TIMOUT."); "CTEST_TESTING_TIMEOUT.");
cm->DefineProperty cm->DefineProperty
("WILL_FAIL", cmProperty::TEST, ("WILL_FAIL", cmProperty::TEST,

View File

@ -76,7 +76,7 @@ public:
return return
" variable_watch(<variable name> [<command to execute>])\n" " variable_watch(<variable name> [<command to execute>])\n"
"If the specified variable changes, the message will be printed about " "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:" "will be executed. The command will receive the following arguments:"
" COMMAND(<variable> <access> <value> <current list file> <stack>)"; " COMMAND(<variable> <access> <value> <current list file> <stack>)";
} }

View File

@ -103,7 +103,7 @@ public:
"All commands between while and the matching endwhile are recorded " "All commands between while and the matching endwhile are recorded "
"without being invoked. Once the endwhile is evaluated, the " "without being invoked. Once the endwhile is evaluated, the "
"recorded list of commands is invoked as long as the condition " "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."; "if command.";
} }