ENH: options() is now scriptable, set() is scriptable too, I don't see a big
difference Alex
This commit is contained in:
parent
fffb0bd908
commit
f0824c7a19
|
@ -65,7 +65,12 @@ public:
|
||||||
"Provide an option for the user to select as ON or OFF. If no "
|
"Provide an option for the user to select as ON or OFF. If no "
|
||||||
"initial value is provided, OFF is used.";
|
"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);
|
cmTypeMacro(cmOptionCommand, cmCommand);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue