| 233 | } |
| 234 | |
| 235 | void cmInstrumentation::WriteCMakeContent( |
| 236 | std::unique_ptr<cmGlobalGenerator> const& gg) |
| 237 | { |
| 238 | Json::Value root; |
| 239 | root["targets"] = this->DumpTargets(gg); |
| 240 | root["custom"] = this->customContent; |
| 241 | root["project"] = |
| 242 | gg->GetCMakeInstance()->GetCacheDefinition("CMAKE_PROJECT_NAME").GetCStr(); |
| 243 | this->WriteInstrumentationJson( |
| 244 | latestDataVersion, root, "data/content", |
| 245 | cmStrCat("cmake-", this->ComputeSuffixTime(), ".json")); |
| 246 | } |
| 247 | |
| 248 | Json::Value cmInstrumentation::DumpTargets( |
| 249 | std::unique_ptr<cmGlobalGenerator> const& gg) |
no test coverage detected