retrieve value of input path from specified variable
| 109 | |
| 110 | // retrieve value of input path from specified variable |
| 111 | bool getInputPath(std::string const& arg, cmExecutionStatus& status, |
| 112 | std::string& path) |
| 113 | { |
| 114 | cmValue def = status.GetMakefile().GetDefinition(arg); |
| 115 | if (!def) { |
| 116 | status.SetError("undefined variable for input path."); |
| 117 | return false; |
| 118 | } |
| 119 | |
| 120 | path = *def; |
| 121 | return true; |
| 122 | } |
| 123 | |
| 124 | bool HandleGetCommand(std::vector<std::string> const& args, |
| 125 | cmExecutionStatus& status) |
no test coverage detected
searching dependent graphs…