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