MCPcopy Index your code
hub / github.com/Kitware/CMake / cmWhileCommand

Function cmWhileCommand

Source/cmWhileCommand.cxx:157–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157bool cmWhileCommand(std::vector<cmListFileArgument> const& args,
158 cmExecutionStatus& status)
159{
160 if (args.empty()) {
161 status.SetError("called with incorrect number of arguments");
162 return false;
163 }
164
165 // create a function blocker
166 auto& makefile = status.GetMakefile();
167 makefile.AddFunctionBlocker(
168 cm::make_unique<cmWhileFunctionBlocker>(&makefile, args));
169
170 return true;
171}

Callers

nothing calls this directly

Calls 4

AddFunctionBlockerMethod · 0.80
emptyMethod · 0.45
SetErrorMethod · 0.45
GetMakefileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…