mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
ENH: Patch from Alex to add IsDiscouraged method for future use in generating separate documentation for old commands. Also modified documentation of MAKE_DIRECTORY and REMOVE commands to indicate they should not be used.
This commit is contained in:
@@ -101,6 +101,15 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* This determines if usage of the method is discouraged or not.
|
||||
* This is currently only used for generating the documentation.
|
||||
*/
|
||||
virtual bool IsDiscouraged()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user