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

@ -66,6 +66,11 @@ public:
"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);
};