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

Method DumpInputs

Source/cmFileAPICMakeFiles.cxx:73–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73Json::Value CMakeFiles::DumpInputs()
74{
75 Json::Value inputs = Json::arrayValue;
76
77 cmGlobalGenerator* gg =
78 this->FileAPI.GetCMakeInstance()->GetGlobalGenerator();
79 for (auto const& lg : gg->GetLocalGenerators()) {
80 cmMakefile const* mf = lg->GetMakefile();
81 for (std::string const& file : mf->GetListFiles()) {
82 inputs.append(this->DumpInput(file));
83 }
84 }
85
86 return inputs;
87}
88
89Json::Value CMakeFiles::DumpInput(std::string const& file)
90{

Callers 1

DumpMethod · 0.95

Calls 5

DumpInputMethod · 0.95
appendMethod · 0.80
GetGlobalGeneratorMethod · 0.45
GetCMakeInstanceMethod · 0.45
GetMakefileMethod · 0.45

Tested by

no test coverage detected