mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03: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:
1 parent
2b33498c03
commit
f12742d6cd
15 files changed
+100
-2
No files matched your search
@@ -77,6 +77,12 @@ public:
|
||||
"Create Python wrappers for VTK classes.";
|
||||
}
|
||||
|
||||
/** This command is only kept for compatibility with older CMake versions. */
|
||||
virtual bool IsDiscouraged()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper methods
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user