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

Method GetRPathLinkString

Source/cmComputeLinkInformation.cxx:478–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478std::string cmComputeLinkInformation::GetRPathLinkString() const
479{
480 // If there is no separate linker runtime search flag (-rpath-link)
481 // there is no reason to compute a string.
482 if (!this->OrderDependentRPath) {
483 return "";
484 }
485
486 // Construct the linker runtime search path. These MUST NOT contain tokens
487 // such as $ORIGIN, see https://sourceware.org/bugzilla/show_bug.cgi?id=16936
488 return cmJoin(this->OrderDependentRPath->GetOrderedDirectories(), ":");
489}
490
491std::vector<std::string> const& cmComputeLinkInformation::GetDepends() const
492{

Callers 1

ComputeLinkLibrariesMethod · 0.80

Calls 1

cmJoinFunction · 0.70

Tested by

no test coverage detected