ENH: options() is now scriptable, set() is scriptable too, I don't see a big

difference

Alex
This commit is contained in:
Alexander Neundorf 2007-12-19 16:53:58 -05:00
parent fffb0bd908
commit f0824c7a19
1 changed files with 6 additions and 1 deletions

View File

@ -65,7 +65,12 @@ public:
"Provide an option for the user to select as ON or OFF. If no "
"initial value is provided, OFF is used.";
}
/**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() { return true; }
cmTypeMacro(cmOptionCommand, cmCommand);
};