cmMakefile: Decompose custom command creation
Extract independent operations which compose to the custom command creation functions.
A GitLab update will be applied on May 9th, between 8am and 10am, EDT (UTC-04:00). This site may have intermittent delays during that time.
Extract independent operations which compose to the custom command creation functions.