Refactor cmMakefile::AddDefinition to accept the value argument as cm:string_view
Refactors cmDefinitions and cmMakefile to accept a cm::string_view instead of const char * for definition value arguments.
- Refactors
cmDefinitions::Setto accept the value argument ascm::string_view - Adds
cmDefinitions::Unset(to be used instead ofcmDefinitions::Set(key, nullptr)) - Refactors
cmMakefile::AddDefinitionto accept the value argument ascm::string_view - Removes
c_str()calls whencmDefinitions::SetorcmMakefile::AddDefinitionis called with astd::stringargument.