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

Method ReportDuplicateTarget

Source/cmExportInstallAndroidMKGenerator.cxx:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void cmExportInstallAndroidMKGenerator::ReportDuplicateTarget(
29 std::string const& targetName) const
30{
31 std::ostringstream e;
32 e << "install(EXPORT_ANDROID_MK \"" << this->GetExportSet()->GetName()
33 << "\" ...) "
34 << "includes target \"" << targetName
35 << "\" more than once in the export set.";
36 this->ReportError(e.str());
37}
38
39bool cmExportInstallAndroidMKGenerator::GenerateMainFile(std::ostream& os)
40{

Callers

nothing calls this directly

Calls 4

strMethod · 0.80
GetNameMethod · 0.45
GetExportSetMethod · 0.45
ReportErrorMethod · 0.45

Tested by

no test coverage detected