| 690 | } |
| 691 | |
| 692 | std::string cmGlobalFastbuildGenerator::Quote(std::string const& str, |
| 693 | std::string const& quotation) |
| 694 | { |
| 695 | std::string result = str; |
| 696 | cmSystemTools::ReplaceString(result, quotation, "^" + quotation); |
| 697 | cmSystemTools::ReplaceString(result, FASTBUILD_DOLLAR_TAG, "$"); |
| 698 | return quotation + result + quotation; |
| 699 | } |
| 700 | std::string cmGlobalFastbuildGenerator::QuoteIfHasSpaces(std::string str) |
| 701 | { |
| 702 | if (str.find(' ') != std::string::npos) { |
no outgoing calls
no test coverage detected