| 71 | } |
| 72 | |
| 73 | Json::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 | |
| 89 | Json::Value CMakeFiles::DumpInput(std::string const& file) |
| 90 | { |
no test coverage detected