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

Method ComplainAboutDuplicateTarget

Source/cmExportBuildFileGenerator.cxx:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void cmExportBuildFileGenerator::ComplainAboutDuplicateTarget(
237 std::string const& targetName) const
238{
239 std::ostringstream e;
240 e << "given target \"" << targetName << "\" more than once.";
241 this->ReportError(e.str());
242}
243
244void cmExportBuildFileGenerator::IssueMessage(MessageType type,
245 std::string const& message) const

Callers 1

CollectExportsMethod · 0.95

Calls 2

strMethod · 0.80
ReportErrorMethod · 0.45

Tested by

no test coverage detected