summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmMacroCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index aa9dc0a..c1c0df5 100644
--- a/Source/cmMacroCommand.h
+++ b/Source/cmMacroCommand.h
@@ -68,6 +68,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 "MACRO";}