Reduce raw string pointers usage
- Change some functions to take
std::string
instead ofconst char*
in the following classes:cmMakeFile
,cmake
,cmCoreTryCompile
,cmSystemTools
,cmState
,cmLocalGenerator
and a few others. - Greatly reduce using of
const char*
overloads forcmSystemTools::MakeDirectory
andcmSystemTools::RelativePath
. - Remove many redundant
c_str()
conversions throughout the code.
Topic-rename: std-string-apis