| 52 | char const* content, char const* hash); |
| 53 | |
| 54 | static cm::optional<cmExportSet*> GetExportSet(std::string const& name, |
| 55 | cmGlobalGenerator* generator, |
| 56 | cmExecutionStatus& status) |
| 57 | { |
| 58 | cmExportSetMap& setMap = generator->GetExportSets(); |
| 59 | auto const it = setMap.find(name); |
| 60 | if (it == setMap.end()) { |
| 61 | status.SetError(cmStrCat("Export set \""_s, name, "\" not found."_s)); |
| 62 | return cm::nullopt; |
| 63 | } |
| 64 | return &it->second; |
| 65 | } |
| 66 | |
| 67 | static void AddExportGenerator( |
| 68 | cmMakefile& makefile, cmGlobalGenerator* globalGenerator, |
no test coverage detected
searching dependent graphs…