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

Method ComputeLinkInterfaceRuntimeLibraries

Source/cmGeneratorTarget_Link.cxx:842–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840}
841
842void cmGeneratorTarget::ComputeLinkInterfaceRuntimeLibraries(
843 std::string const& config, cmOptionalLinkInterface& iface) const
844{
845 for (std::string const& lang : iface.Languages) {
846 if ((lang == "CUDA" || lang == "HIP") &&
847 iface.LanguageRuntimeLibraries.find(lang) ==
848 iface.LanguageRuntimeLibraries.end()) {
849 iface.LanguageRuntimeLibraries[lang] =
850 this->ComputeImplicitLanguageTargets(lang, config);
851 }
852 }
853}
854
855void cmGeneratorTarget::ComputeLinkImplementationRuntimeLibraries(
856 std::string const& config, cmOptionalLinkImplementation& impl) const

Callers 1

GetLinkInterfaceMethod · 0.95

Calls 3

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected