cmFileCommand: turn into free function

This commit is contained in:
Regina Pfeifer
2019-08-06 12:25:12 +02:00
parent 9703c65718
commit 2b785875fb
3 changed files with 5 additions and 29 deletions

View File

@@ -2770,8 +2770,8 @@ bool HandleGetRuntimeDependenciesCommand(std::vector<std::string> const& args,
} // namespace
bool cmFileCommand::InitialPass(std::vector<std::string> const& args,
cmExecutionStatus& status)
bool cmFileCommand(std::vector<std::string> const& args,
cmExecutionStatus& status)
{
if (args.size() < 2) {
status.SetError("must be called with at least two arguments.");