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

Method ComplainAboutDuplicateTarget

Source/cmExportInstallFileGenerator.cxx:327–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void cmExportInstallFileGenerator::ComplainAboutDuplicateTarget(
328 std::string const& targetName) const
329{
330 std::ostringstream e;
331 e << "install(" << this->IEGen->InstallSubcommand() << " \""
332 << this->GetExportName() << "\" ...) "
333 << "includes target \"" << targetName
334 << "\" more than once in the export set.";
335 this->ReportError(e.str());
336}
337
338void cmExportInstallFileGenerator::IssueMessage(
339 MessageType type, std::string const& message) const

Callers 1

CollectExportsMethod · 0.95

Calls 4

GetExportNameMethod · 0.80
strMethod · 0.80
InstallSubcommandMethod · 0.45
ReportErrorMethod · 0.45

Tested by

no test coverage detected