From 4d311988b9be634980b9a188e226a0eb5a69359b Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 21 Jul 2003 14:42:54 -0400 Subject: [PATCH] ENH: Initial framework for deprecated commands --- Source/cmCommand.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/cmCommand.h b/Source/cmCommand.h index 44e95d296..3d214a332 100644 --- a/Source/cmCommand.h +++ b/Source/cmCommand.h @@ -91,6 +91,14 @@ public: return false; } + /** + * This determines if the method is deprecated or not. + */ + virtual bool IsDeprecated(int /*major*/, int /*minor*/) + { + return false; + } + /** * The name of the command as specified in CMakeList.txt. */