mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
ENH: options() is now scriptable, set() is scriptable too, I don't see a big
difference Alex
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user