| 727 | } |
| 728 | |
| 729 | std::string cmFastbuildNormalTargetGenerator::GetLinkCommand() const |
| 730 | { |
| 731 | std::string const& linkLanguage = GeneratorTarget->GetLinkerLanguage(Config); |
| 732 | std::string linkCmdVar = |
| 733 | GeneratorTarget->GetCreateRuleVariable(linkLanguage, Config); |
| 734 | std::string res = this->Makefile->GetSafeDefinition(linkCmdVar); |
| 735 | if (res.empty() && |
| 736 | this->GeneratorTarget->GetType() == cmStateEnums::STATIC_LIBRARY) { |
| 737 | linkCmdVar = linkCmdVar = |
| 738 | cmStrCat("CMAKE_", linkLanguage, "_ARCHIVE_CREATE"); |
| 739 | res = this->Makefile->GetSafeDefinition(linkCmdVar); |
| 740 | } |
| 741 | LogMessage("Link rule: " + cmStrCat(linkCmdVar, " = ", res)); |
| 742 | return res; |
| 743 | } |
| 744 | |
| 745 | void cmFastbuildNormalTargetGenerator::AddCompilerLaunchersForLanguages() |
| 746 | { |
nothing calls this directly
no test coverage detected