summaryrefslogtreecommitdiffstats
path: root/Source/cmForEachCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-06 18:47:11 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-06 18:47:11 (GMT)
commit54785fafbadae4a1bf8dcf2c43c5f471953b6afa (patch)
tree208be6f9647ae0460a3fbca8accafc13aeadd966 /Source/cmForEachCommand.h
parentf171b823770b44f4d06f66ec87d5ae2ab2210a25 (diff)
downloadCMake-54785fafbadae4a1bf8dcf2c43c5f471953b6afa.zip
CMake-54785fafbadae4a1bf8dcf2c43c5f471953b6afa.tar.gz
CMake-54785fafbadae4a1bf8dcf2c43c5f471953b6afa.tar.bz2
ENH: Make more commands scriptable
Diffstat (limited to 'Source/cmForEachCommand.h')
-rw-r--r--Source/cmForEachCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h
index 478caeb..bb767e9 100644
--- a/Source/cmForEachCommand.h
+++ b/Source/cmForEachCommand.h
@@ -70,6 +70,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 "FOREACH";}