summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCommand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 44e95d2..3d214a3 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -92,6 +92,14 @@ public:
}
/**
+ * 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.
*/
virtual const char* GetName() = 0;