mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Drop builtin command documentation
Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
This commit is contained in:
@@ -56,27 +56,6 @@ public:
|
||||
*/
|
||||
virtual const char* GetName() const { return "variable_watch";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
*/
|
||||
virtual const char* GetTerseDocumentation() const
|
||||
{
|
||||
return "Watch the CMake variable for change.";
|
||||
}
|
||||
|
||||
/**
|
||||
* More documentation.
|
||||
*/
|
||||
virtual const char* GetFullDocumentation() const
|
||||
{
|
||||
return
|
||||
" variable_watch(<variable name> [<command to execute>])\n"
|
||||
"If the specified variable changes, the message will be printed about "
|
||||
"the variable being changed. If the command is specified, the command "
|
||||
"will be executed. The command will receive the following arguments:"
|
||||
" COMMAND(<variable> <access> <value> <current list file> <stack>)";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmVariableWatchCommand, cmCommand);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user