| 2063 | |
| 2064 | template <typename T> |
| 2065 | void GetExportArgumentFromVariable(cmMakefile const* makefile, |
| 2066 | cmExportSet const& exportSet, |
| 2067 | cm::string_view suffix, T& variable) |
| 2068 | { |
| 2069 | std::string const& name = |
| 2070 | cmStrCat(exportSet.GetName(), "_EXPORT_PACKAGE_INFO_"_s, suffix); |
| 2071 | if (cmValue const& value = makefile->GetDefinition(name)) { |
| 2072 | std::string realValue; |
| 2073 | makefile->ConfigureString(value, realValue, true, false); |
| 2074 | AssignValue(variable, realValue); |
| 2075 | } |
| 2076 | } |
| 2077 | |
| 2078 | bool HandleMappedPackageInfo( |
| 2079 | cmExportSet& exportSet, cm::string_view directive, Helper& helper, |
no test coverage detected
searching dependent graphs…