| 2555 | } |
| 2556 | |
| 2557 | cm::optional<std::string> cmMakefile::DeferGetCall(std::string const& id) const |
| 2558 | { |
| 2559 | cm::optional<std::string> call; |
| 2560 | if (this->Defer) { |
| 2561 | std::string tmp; |
| 2562 | for (DeferCommand const& dc : this->Defer->Commands) { |
| 2563 | if (dc.Id == id) { |
| 2564 | tmp = dc.Command.OriginalName(); |
| 2565 | for (cmListFileArgument const& arg : dc.Command.Arguments()) { |
| 2566 | tmp = cmStrCat(tmp, ';', arg.Value); |
| 2567 | } |
| 2568 | break; |
| 2569 | } |
| 2570 | } |
| 2571 | call = std::move(tmp); |
| 2572 | } |
| 2573 | return call; |
| 2574 | } |
| 2575 | |
| 2576 | MessageType cmMakefile::ExpandVariablesInStringImpl( |
| 2577 | std::string& errorstr, std::string& source, bool escapeQuotes, |
no test coverage detected