summaryrefslogtreecommitdiffstats
path: root/Source/cmEndForEachCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEndForEachCommand.h')
-rw-r--r--Source/cmEndForEachCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmEndForEachCommand.h b/Source/cmEndForEachCommand.h
index 27b0f4a..3a65df9 100644
--- a/Source/cmEndForEachCommand.h
+++ b/Source/cmEndForEachCommand.h
@@ -54,6 +54,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 "ENDFOREACH";}