| 16 | cmExportBuildAndroidMKGenerator::cmExportBuildAndroidMKGenerator() = default; |
| 17 | |
| 18 | bool cmExportBuildAndroidMKGenerator::GenerateMainFile(std::ostream& os) |
| 19 | { |
| 20 | if (!this->CollectExports([&](cmGeneratorTarget const*) {})) { |
| 21 | return false; |
| 22 | } |
| 23 | |
| 24 | // Create all the imported targets. |
| 25 | for (auto const& exp : this->Exports) { |
| 26 | cmGeneratorTarget* gte = exp.Target; |
| 27 | |
| 28 | this->GenerateImportTargetCode(os, gte, this->GetExportTargetType(gte)); |
| 29 | |
| 30 | gte->Target->AppendBuildInterfaceIncludes(); |
| 31 | |
| 32 | ImportPropertyMap properties; |
| 33 | if (!this->PopulateInterfaceProperties(gte, properties)) { |
| 34 | return false; |
| 35 | } |
| 36 | |
| 37 | this->PopulateInterfaceLinkLibrariesProperty( |
| 38 | gte, cmGeneratorExpression::BuildInterface, properties); |
| 39 | |
| 40 | this->GenerateInterfaceProperties(gte, os, properties); |
| 41 | } |
| 42 | |
| 43 | return true; |
| 44 | } |
| 45 | |
| 46 | void cmExportBuildAndroidMKGenerator::GenerateImportHeaderCode( |
| 47 | std::ostream& os, std::string const&) |
nothing calls this directly
no test coverage detected