| 155 | } |
| 156 | |
| 157 | bool cmWhileCommand(std::vector<cmListFileArgument> const& args, |
| 158 | cmExecutionStatus& status) |
| 159 | { |
| 160 | if (args.empty()) { |
| 161 | status.SetError("called with incorrect number of arguments"); |
| 162 | return false; |
| 163 | } |
| 164 | |
| 165 | // create a function blocker |
| 166 | auto& makefile = status.GetMakefile(); |
| 167 | makefile.AddFunctionBlocker( |
| 168 | cm::make_unique<cmWhileFunctionBlocker>(&makefile, args)); |
| 169 | |
| 170 | return true; |
| 171 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…