| 153 | } |
| 154 | |
| 155 | bool HandleAppendCommand(std::vector<std::string> const& args, |
| 156 | cmExecutionStatus& status) |
| 157 | { |
| 158 | assert(args.size() >= 2); |
| 159 | |
| 160 | // Skip if nothing to append. |
| 161 | if (args.size() < 3) { |
| 162 | return true; |
| 163 | } |
| 164 | |
| 165 | cmMakefile& makefile = status.GetMakefile(); |
| 166 | std::string const& listName = args[1]; |
| 167 | // expand the variable |
| 168 | std::string listString; |
| 169 | GetListString(listString, listName, makefile); |
| 170 | |
| 171 | makefile.AddDefinition( |
| 172 | listName, cmList::append(listString, args.begin() + 2, args.end())); |
| 173 | return true; |
| 174 | } |
| 175 | |
| 176 | bool HandlePrependCommand(std::vector<std::string> const& args, |
| 177 | cmExecutionStatus& status) |
nothing calls this directly
no test coverage detected
searching dependent graphs…