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

Method HaveBuildTreeRPATH

Source/cmGeneratorTarget.cxx:5132–5146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5130}
5131
5132bool cmGeneratorTarget::HaveBuildTreeRPATH(std::string const& config) const
5133{
5134 if (this->GetPropertyAsBool("SKIP_BUILD_RPATH")) {
5135 return false;
5136 }
5137 std::string build_rpath;
5138 if (this->GetBuildRPATH(config, build_rpath)) {
5139 return true;
5140 }
5141 if (cmLinkImplementationLibraries const* impl =
5142 this->GetLinkImplementationLibraries(config, UseTo::Link)) {
5143 return !impl->Libraries.empty();
5144 }
5145 return false;
5146}
5147
5148bool cmGeneratorTarget::IsNullImpliedByLinkLibraries(
5149 std::string const& p) const

Callers 2

GetRPathMethod · 0.80

Calls 4

GetPropertyAsBoolMethod · 0.95
GetBuildRPATHMethod · 0.95
emptyMethod · 0.45

Tested by

no test coverage detected