summaryrefslogtreecommitdiffstats
path: root/Source/cmElseCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmElseCommand.h')
-rw-r--r--Source/cmElseCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmElseCommand.h b/Source/cmElseCommand.h
index 45d7b39..fa2b36b 100644
--- a/Source/cmElseCommand.h
+++ b/Source/cmElseCommand.h
@@ -48,6 +48,11 @@ public:
virtual bool IsInherited() {return true;}
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable() { return true; }
+
+ /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() { return "ELSE";}