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

Method ComputeLinkImplementationRuntimeLibraries

Source/cmGeneratorTarget_Link.cxx:855–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855void cmGeneratorTarget::ComputeLinkImplementationRuntimeLibraries(
856 std::string const& config, cmOptionalLinkImplementation& impl) const
857{
858 for (std::string const& lang : impl.Languages) {
859 if ((lang == "CUDA" || lang == "HIP") &&
860 impl.LanguageRuntimeLibraries.find(lang) ==
861 impl.LanguageRuntimeLibraries.end()) {
862 impl.LanguageRuntimeLibraries[lang] =
863 this->ComputeImplicitLanguageTargets(lang, config);
864 }
865 }
866}
867
868cmLinkInterface const* cmGeneratorTarget::GetImportLinkInterface(
869 std::string const& config, cmGeneratorTarget const* headTarget, UseTo usage,

Callers 1

GetLinkImplementationMethod · 0.95

Calls 3

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected