summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 7466bb5..55672a6 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -102,6 +102,15 @@ public:
}
/**
+ * 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.
*/
virtual const char* GetName() = 0;