STYLE: fix docs
This commit is contained in:
parent
89f3e97730
commit
bd45a7bb18
@ -100,8 +100,8 @@ public:
|
|||||||
"in the original FOREACH command. Before each iteration of the loop "
|
"in the original FOREACH command. Before each iteration of the loop "
|
||||||
"\"${loop_var}\" will be set as a variable with "
|
"\"${loop_var}\" will be set as a variable with "
|
||||||
"the current value in the list.\n"
|
"the current value in the list.\n"
|
||||||
"Foreach can also iterate over the range of numbers generated by "
|
"Foreach can also iterate over a generated range of numbers. "
|
||||||
"foreach. There are three types of this iteration:\n"
|
"There are three types of this iteration:\n"
|
||||||
"* When specifying single number, the range will have elements "
|
"* When specifying single number, the range will have elements "
|
||||||
"0 to \"total\".\n"
|
"0 to \"total\".\n"
|
||||||
"* When specifying two numbers, the range will have elements from "
|
"* When specifying two numbers, the range will have elements from "
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual const char* GetTerseDocumentation()
|
virtual const char* GetTerseDocumentation()
|
||||||
{
|
{
|
||||||
return "Get a property of the CMake.";
|
return "Get a property of the CMake instance.";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -53,10 +53,10 @@ public:
|
|||||||
{
|
{
|
||||||
return
|
return
|
||||||
" GET_CMAKE_PROPERTY(VAR property)\n"
|
" GET_CMAKE_PROPERTY(VAR property)\n"
|
||||||
"Get a property from the CMake. The value of the property is"
|
"Get a property from the CMake instance. The value of the "
|
||||||
"stored in the variable VAR. If the property is not found,"
|
"property is stored in the variable VAR. If the property is "
|
||||||
"CMake will report an error. The properties include: VARIABLES, "
|
"not found, CMake will report an error. Some supported properties "
|
||||||
"CACHE_VARIABLES, COMMANDS, and MACROS.";
|
"include: VARIABLES, CACHE_VARIABLES, COMMANDS, and MACROS.";
|
||||||
}
|
}
|
||||||
|
|
||||||
cmTypeMacro(cmGetCMakePropertyCommand, cmCommand);
|
cmTypeMacro(cmGetCMakePropertyCommand, cmCommand);
|
||||||
|
@ -53,8 +53,8 @@ public:
|
|||||||
{
|
{
|
||||||
return
|
return
|
||||||
" GET_DIRECTORY_PROPERTY(VAR [DIRECTORY dir] property)\n"
|
" GET_DIRECTORY_PROPERTY(VAR [DIRECTORY dir] property)\n"
|
||||||
"Get a property from the Directory. The value of the property is"
|
"Get a property from the Directory. The value of the property is "
|
||||||
"stored in the variable VAR. If the property is not found,"
|
"stored in the variable VAR. If the property is not found, "
|
||||||
"CMake will report an error. The properties include: VARIABLES, "
|
"CMake will report an error. The properties include: VARIABLES, "
|
||||||
"CACHE_VARIABLES, COMMANDS, MACROS, INCLUDE_DIRECTORIES, "
|
"CACHE_VARIABLES, COMMANDS, MACROS, INCLUDE_DIRECTORIES, "
|
||||||
"LINK_DIRECTORIES, DEFINITIONS, INCLUDE_REGULAR_EXPRESSION and "
|
"LINK_DIRECTORIES, DEFINITIONS, INCLUDE_REGULAR_EXPRESSION and "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user