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

Function cmFunctionCommand

Source/cmFunctionCommand.cxx:183–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181} // anonymous namespace
182
183bool cmFunctionCommand(std::vector<std::string> const& args,
184 cmExecutionStatus& status)
185{
186 if (args.empty()) {
187 status.SetError("called with incorrect number of arguments");
188 return false;
189 }
190
191 // create a function blocker
192 auto fb = cm::make_unique<cmFunctionFunctionBlocker>();
193 cm::append(fb->Args, args);
194 status.GetMakefile().AddFunctionBlocker(std::move(fb));
195
196 return true;
197}

Callers

nothing calls this directly

Calls 6

appendFunction · 0.85
moveFunction · 0.85
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…