| 160 | } |
| 161 | |
| 162 | std::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 | |
| 176 | void cmakemainMessageCallback(std::string const& m, |
| 177 | cmMessageMetadata const& md, cmake* cm) |
no test coverage detected
searching dependent graphs…