| 184 | } |
| 185 | |
| 186 | bool cmMacroCommand(std::vector<std::string> const& args, |
| 187 | cmExecutionStatus& status) |
| 188 | { |
| 189 | if (args.empty()) { |
| 190 | status.SetError("called with incorrect number of arguments"); |
| 191 | return false; |
| 192 | } |
| 193 | |
| 194 | // create a function blocker |
| 195 | { |
| 196 | auto fb = cm::make_unique<cmMacroFunctionBlocker>(); |
| 197 | cm::append(fb->Args, args); |
| 198 | status.GetMakefile().AddFunctionBlocker(std::move(fb)); |
| 199 | } |
| 200 | return true; |
| 201 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…