cmAlgorithms: Refactor cmHas{Prefix,Suffix} to accept cm::string_view
- Refactors
cmHas{Prefix,Suffix}
to acceptcm::string_view
arguments - Adds
cmHas{Prefix,Suffix}
overloads that accept achar
- Refactors
cmStripSuffixIfExists
to acceptcm::string_view
arguments - Adds
cmStripSuffixIfExists
overload that accepts achar
Edited by Sebastian Holtermann