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

Method GenerateImportTargetCode

Source/cmExportBuildAndroidMKGenerator.cxx:52–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void cmExportBuildAndroidMKGenerator::GenerateImportTargetCode(
53 std::ostream& os, cmGeneratorTarget const* target,
54 cmStateEnums::TargetType /*targetType*/)
55{
56 std::string targetName = cmStrCat(this->Namespace, target->GetExportName());
57 os << "include $(CLEAR_VARS)\n";
58 os << "LOCAL_MODULE := ";
59 os << targetName << "\n";
60 os << "LOCAL_SRC_FILES := ";
61 std::string const noConfig; // FIXME: What config to use here?
62 std::string path =
63 cmSystemTools::ConvertToOutputPath(target->GetFullPath(noConfig));
64 os << path << "\n";
65}

Callers 1

GenerateMainFileMethod · 0.95

Calls 3

GetExportNameMethod · 0.80
cmStrCatFunction · 0.70
GetFullPathMethod · 0.45

Tested by

no test coverage detected