| 482 | } |
| 483 | |
| 484 | void cmGeneratorExpression::ReplaceInstallPrefix( |
| 485 | std::string& input, std::string const& replacement) |
| 486 | { |
| 487 | std::string::size_type pos = 0; |
| 488 | std::string::size_type lastPos = pos; |
| 489 | |
| 490 | while ((pos = input.find("$<INSTALL_PREFIX>", lastPos)) != |
| 491 | std::string::npos) { |
| 492 | std::string::size_type endPos = pos + cmStrLen("$<INSTALL_PREFIX>"); |
| 493 | input.replace(pos, endPos - pos, replacement); |
| 494 | lastPos = endPos; |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | void cmCompiledGeneratorExpression::GetMaxLanguageStandard( |
| 499 | cmGeneratorTarget const* tgt, std::map<std::string, std::string>& mapping) |