Documentation: Correct typos and grammar
This commit is contained in:
parent
56a687d173
commit
965de974b2
|
@ -76,7 +76,7 @@ public:
|
|||
"will be C-style escaped. "
|
||||
"The file will be configured with the current values of CMake "
|
||||
"variables. If @ONLY is specified, only variables "
|
||||
"of the form @VAR@ will be replaces and ${VAR} will be ignored. "
|
||||
"of the form @VAR@ will be replaced and ${VAR} will be ignored. "
|
||||
"This is useful for configuring scripts that use ${VAR}. "
|
||||
"Any occurrences of #cmakedefine VAR will be replaced with "
|
||||
"either #define VAR or /* #undef VAR */ depending on "
|
||||
|
|
|
@ -90,7 +90,7 @@ public:
|
|||
"will have the actual values of the arguments passed in. This "
|
||||
"facilitates creating functions with optional arguments. Additionally "
|
||||
"ARGV holds the list of all arguments given to the function and ARGN "
|
||||
"holds the list of argument past the last expected argument."
|
||||
"holds the list of arguments past the last expected argument."
|
||||
"\n"
|
||||
"See the cmake_policy() command documentation for the behavior of "
|
||||
"policies inside functions."
|
||||
|
|
|
@ -92,7 +92,7 @@ public:
|
|||
"facilitates creating macros with optional arguments. Additionally "
|
||||
"${ARGV} holds the list of all arguments given to the macro and "
|
||||
"${ARGN} "
|
||||
"holds the list of argument past the last expected argument. "
|
||||
"holds the list of arguments past the last expected argument. "
|
||||
"Note that the parameters to a macro and values such as ARGN "
|
||||
"are not variables in the usual CMake sense. They are string "
|
||||
"replacements much like the c preprocessor would do with a "
|
||||
|
|
|
@ -58,11 +58,11 @@ public:
|
|||
{
|
||||
return
|
||||
" math(EXPR <output variable> <math expression>)\n"
|
||||
"EXPR evaluates mathematical expression and return result in the "
|
||||
"EXPR evaluates mathematical expression and returns result in the "
|
||||
"output variable. Example mathematical expression is "
|
||||
"'5 * ( 10 + 13 )'. Supported operators are "
|
||||
"+ - * / % | & ^ ~ << >> * / %. They have the same meaning "
|
||||
" as they do in c code.";
|
||||
" as they do in C code.";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmMathCommand, cmCommand);
|
||||
|
|
|
@ -457,7 +457,7 @@ cmPolicies::cmPolicies()
|
|||
"This makes sure that the modules belonging to "
|
||||
"CMake always get those files included which they expect, and against "
|
||||
"which they were developed and tested. "
|
||||
"In call other cases, the files found in "
|
||||
"In all other cases, the files found in "
|
||||
"CMAKE_MODULE_PATH still take precedence over the ones in "
|
||||
"the CMake module directory. "
|
||||
"The OLD behaviour is to always prefer files from CMAKE_MODULE_PATH over "
|
||||
|
|
|
@ -458,7 +458,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
|
|||
"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 "
|
||||
"CMake to determine if certain dependency information should be "
|
||||
"computed.");
|
||||
|
||||
cm->DefineProperty
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
"expression matches the file will be favored.\n"
|
||||
"The name of the group may contain backslashes to specify subgroups:\n"
|
||||
" source_group(outer\\\\inner ...)\n"
|
||||
"For backwards compatibility, this command is also supports the "
|
||||
"For backwards compatibility, this command also supports the "
|
||||
"format:\n"
|
||||
" source_group(name regex)";
|
||||
}
|
||||
|
|
|
@ -100,11 +100,11 @@ public:
|
|||
"to the LINK_INTERFACE_LIBRARIES and its per-configuration equivalent "
|
||||
"target properties instead of using them for linking. "
|
||||
"Libraries specified as \"debug\" are appended to the "
|
||||
"the LINK_INTERFACE_LIBRARIES_DEBUG property (or to the properties "
|
||||
"LINK_INTERFACE_LIBRARIES_DEBUG property (or to the properties "
|
||||
"corresponding to configurations listed in the DEBUG_CONFIGURATIONS "
|
||||
"global property if it is set). "
|
||||
"Libraries specified as \"optimized\" are appended to the "
|
||||
"the LINK_INTERFACE_LIBRARIES property. "
|
||||
"LINK_INTERFACE_LIBRARIES property. "
|
||||
"Libraries specified as \"general\" (or without any keyword) are "
|
||||
"treated as if specified for both \"debug\" and \"optimized\"."
|
||||
"\n"
|
||||
|
|
|
@ -81,7 +81,7 @@ public:
|
|||
"the executable, but it will not try to run the executable. Instead it "
|
||||
"will create cache variables which must be filled by the user or by "
|
||||
"presetting them in some CMake script file to the values the "
|
||||
"executable would have produced if it would have been run on its actual "
|
||||
"executable would have produced if it had been run on its actual "
|
||||
"target platform. These variables are RUN_RESULT_VAR (explanation see "
|
||||
"above) and if RUN_OUTPUT_VARIABLE (or OUTPUT_VARIABLE) was used, an "
|
||||
"additional cache variable "
|
||||
|
|
Loading…
Reference in New Issue