| 17 | } |
| 18 | |
| 19 | bool cmMathCommand(std::vector<std::string> const& args, |
| 20 | cmExecutionStatus& status) |
| 21 | { |
| 22 | if (args.empty()) { |
| 23 | status.SetError("must be called with at least one argument."); |
| 24 | return false; |
| 25 | } |
| 26 | std::string const& subCommand = args[0]; |
| 27 | if (subCommand == "EXPR") { |
| 28 | return HandleExprCommand(args, status); |
| 29 | } |
| 30 | std::string e = "does not recognize sub-command " + subCommand; |
| 31 | status.SetError(e); |
| 32 | return false; |
| 33 | } |
| 34 | |
| 35 | namespace { |
| 36 | bool HandleExprCommand(std::vector<std::string> const& args, |
nothing calls this directly
no test coverage detected
searching dependent graphs…