diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-22 22:07:02 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-22 22:07:02 -0500 |
commit | 007d2bbc50618a118fd18a203b97e6779ca58588 (patch) | |
tree | c6a259823705acf9840ce2be52c36f61116153d7 /Source/cmElseCommand.h | |
parent | 183273bea2b093043abb06845dffa7b902b6d273 (diff) | |
download | cmake-007d2bbc50618a118fd18a203b97e6779ca58588.tar.gz |
ENH: Make more commands scriptable
Diffstat (limited to 'Source/cmElseCommand.h')
-rw-r--r-- | Source/cmElseCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmElseCommand.h b/Source/cmElseCommand.h index 45d7b39306..fa2b36b8ef 100644 --- a/Source/cmElseCommand.h +++ b/Source/cmElseCommand.h @@ -48,6 +48,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 "ELSE";} |