| 31 | struct cmLinkInterface; |
| 32 | |
| 33 | static std::string cmExportFileGeneratorEscape(std::string const& str) |
| 34 | { |
| 35 | // Escape a property value for writing into a .cmake file. |
| 36 | std::string result = cmOutputConverter::EscapeForCMake(str); |
| 37 | // Un-escape variable references generated by our own export code. |
| 38 | cmSystemTools::ReplaceString(result, "\\${_IMPORT_PREFIX}", |
| 39 | "${_IMPORT_PREFIX}"); |
| 40 | cmSystemTools::ReplaceString(result, "\\${CMAKE_IMPORT_LIBRARY_SUFFIX}", |
| 41 | "${CMAKE_IMPORT_LIBRARY_SUFFIX}"); |
| 42 | return result; |
| 43 | } |
| 44 | |
| 45 | cmExportCMakeConfigGenerator::cmExportCMakeConfigGenerator() = default; |
| 46 |
no outgoing calls
no test coverage detected
searching dependent graphs…