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:
Brad King
2006-08-31 13:20:12 -04:00
parent 2b33498c03
commit f12742d6cd
15 changed files with 100 additions and 2 deletions
+9
View File
@@ -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.
*/