summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-19 15:29:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-19 15:29:51 (GMT)
commitf1cffef26592e0b9a4c7017ffab5f41f9f4dbe0a (patch)
tree0de4432d7535881952d62ec443784233d1fa663a /Source/cmIfCommand.h
parentece9ae97e267b2fc64b319324c7fa08fa88e738e (diff)
downloadCMake-f1cffef26592e0b9a4c7017ffab5f41f9f4dbe0a.zip
CMake-f1cffef26592e0b9a4c7017ffab5f41f9f4dbe0a.tar.gz
CMake-f1cffef26592e0b9a4c7017ffab5f41f9f4dbe0a.tar.bz2
ENH: Make IF command scriptable
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index d9aaa4a..05faac5 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -88,6 +88,11 @@ public:
virtual bool IsInherited() {return true;}
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable() { return true; }
+
+ /**
* More documentation.
*/
virtual const char* GetFullDocumentation()