diff --git a/Source/cmEndForEachCommand.h b/Source/cmEndForEachCommand.h index 27b0f4a42..3a65df93a 100644 --- a/Source/cmEndForEachCommand.h +++ b/Source/cmEndForEachCommand.h @@ -53,6 +53,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. */ diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h index 478caeb62..bb767e923 100644 --- a/Source/cmForEachCommand.h +++ b/Source/cmForEachCommand.h @@ -69,6 +69,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. */ diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h index edd49090a..1fb515834 100644 --- a/Source/cmStringCommand.h +++ b/Source/cmStringCommand.h @@ -46,6 +46,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. */