summaryrefslogtreecommitdiff
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 44e95d2968..3d214a3323 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;