summaryrefslogtreecommitdiffstats
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 c11b71b..5380b5a 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -91,6 +91,14 @@ public:
}
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable()
+ {
+ return false;
+ }
+
+ /**
* This determines if the method is deprecated or not.
*/
virtual bool IsDeprecated(int /*major*/, int /*minor*/)