| 174 | } |
| 175 | |
| 176 | bool HandlePrependCommand(std::vector<std::string> const& args, |
| 177 | cmExecutionStatus& status) |
| 178 | { |
| 179 | assert(args.size() >= 2); |
| 180 | |
| 181 | // Skip if nothing to prepend. |
| 182 | if (args.size() < 3) { |
| 183 | return true; |
| 184 | } |
| 185 | |
| 186 | cmMakefile& makefile = status.GetMakefile(); |
| 187 | std::string const& listName = args[1]; |
| 188 | // expand the variable |
| 189 | std::string listString; |
| 190 | GetListString(listString, listName, makefile); |
| 191 | |
| 192 | makefile.AddDefinition( |
| 193 | listName, cmList::prepend(listString, args.begin() + 2, args.end())); |
| 194 | return true; |
| 195 | } |
| 196 | |
| 197 | bool HandlePopBackCommand(std::vector<std::string> const& args, |
| 198 | cmExecutionStatus& status) |
nothing calls this directly
no test coverage detected
searching dependent graphs…