| 265 | |
| 266 | namespace { |
| 267 | std::string ConvertToMakefilePath(std::string const& path) |
| 268 | { |
| 269 | std::string result; |
| 270 | result.reserve(path.size()); |
| 271 | for (char c : path) { |
| 272 | switch (c) { |
| 273 | case '\\': |
| 274 | case ' ': |
| 275 | case '#': |
| 276 | result.push_back('\\'); |
| 277 | CM_FALLTHROUGH; |
| 278 | default: |
| 279 | result.push_back(c); |
| 280 | break; |
| 281 | } |
| 282 | } |
| 283 | return result; |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | bool cmGlobalXCodeGenerator::FindMakeProgram(cmMakefile* mf) |
no test coverage detected
searching dependent graphs…