| 397 | } |
| 398 | |
| 399 | void cmState::AddBuiltinCommand(std::string const& name, Command command) |
| 400 | { |
| 401 | assert(name == cmSystemTools::LowerCase(name)); |
| 402 | assert(this->BuiltinCommands.find(name) == this->BuiltinCommands.end()); |
| 403 | this->BuiltinCommands.emplace(name, std::move(command)); |
| 404 | } |
| 405 | |
| 406 | static bool InvokeBuiltinCommand(cmState::BuiltinCommand command, |
| 407 | std::vector<cmListFileArgument> const& args, |