MCPcopy Create free account
hub / github.com/Kitware/CMake / cmakemainGetStack

Function cmakemainGetStack

Source/cmakemain.cxx:162–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162std::string cmakemainGetStack(cmake* cm)
163{
164 std::string msg;
165 cmMakefile* mf = cmakemainGetMakefile(cm);
166 if (mf) {
167 msg = mf->FormatListFileStack();
168 if (!msg.empty()) {
169 msg = "\n Called from: " + msg;
170 }
171 }
172
173 return msg;
174}
175
176void cmakemainMessageCallback(std::string const& m,
177 cmMessageMetadata const& md, cmake* cm)

Callers 2

cmakemainMessageCallbackFunction · 0.85

Calls 3

cmakemainGetMakefileFunction · 0.85
FormatListFileStackMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…