cmCommand refactoring: Turn scripting commands into free functions
Skipped:
-
cmFileCommand
(done in !3657 (merged)) -
cmFind*Command
- lots of inheritance, will try to do in a separate PR. - Disallowed commands -
AddDisallowedCommand
doesn't currently accept aCommand
Ref: #19499