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:
@@ -34,32 +34,6 @@ public:
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_target_property";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
*/
|
||||
virtual const char* GetTerseDocumentation() const
|
||||
{
|
||||
return "Get a property from a target.";
|
||||
}
|
||||
|
||||
/**
|
||||
* Longer documentation.
|
||||
*/
|
||||
virtual const char* GetFullDocumentation() const
|
||||
{
|
||||
return
|
||||
" get_target_property(VAR target property)\n"
|
||||
"Get a property from a target. The value of the property is "
|
||||
"stored in the variable VAR. If the property is not found, VAR "
|
||||
"will be set to \"NOTFOUND\". Use set_target_properties to set "
|
||||
"property values. Properties are usually used to control how "
|
||||
"a target is built, but some query the target instead. "
|
||||
"This command can get properties for any target so far created. "
|
||||
"The targets do not need to be in the current CMakeLists.txt file."
|
||||
"\n"
|
||||
"See also the more general get_property() command.";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmGetTargetPropertyCommand, cmCommand);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user