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

Method DumpCommandFragment

Source/cmFileAPICodemodel.cxx:2286–2296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2284}
2285
2286Json::Value Target::DumpCommandFragment(JBT<std::string> const& frag,
2287 std::string const& role)
2288{
2289 Json::Value fragment = Json::objectValue;
2290 fragment["fragment"] = frag.Value;
2291 if (!role.empty()) {
2292 fragment["role"] = role;
2293 }
2294 this->AddBacktrace(fragment, frag.Backtrace);
2295 return fragment;
2296}
2297
2298Json::Value Target::DumpDependencies()
2299{

Callers 2

DumpCommandFragmentsMethod · 0.95

Calls 2

AddBacktraceMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected