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

Method DumpInstallerExportTargets

Source/cmFileAPICodemodel.cxx:1220–1230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1218}
1219
1220Json::Value DirectoryObject::DumpInstallerExportTargets(cmExportSet* exp)
1221{
1222 Json::Value targets = Json::arrayValue;
1223 for (auto const& targetExport : exp->GetTargetExports()) {
1224 Json::Value target = Json::objectValue;
1225 target["id"] = TargetId(targetExport->Target, this->TopBuild);
1226 target["index"] = this->TargetIndexMap[targetExport->Target];
1227 targets.append(std::move(target)); // NOLINT(*)
1228 }
1229 return targets;
1230}
1231
1232Json::Value DirectoryObject::DumpInstallerPath(std::string const& top,
1233 std::string const& fromPathIn,

Callers 1

DumpInstallerMethod · 0.95

Calls 3

TargetIdFunction · 0.85
moveFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected