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

Method RemoveRPath

Source/cmSystemTools.cxx:4124–4135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4122#endif
4123}
4124bool cmSystemTools::RemoveRPath(std::string const& file, std::string* emsg,
4125 bool* removed)
4126{
4127 if (cm::optional<bool> result = RemoveRPathELF(file, emsg, removed)) {
4128 return result.value();
4129 }
4130 if (cm::optional<bool> result = RemoveRPathXCOFF(file, emsg, removed)) {
4131 return result.value();
4132 }
4133 // The file format is not recognized. Assume it has no RPATH.
4134 return true;
4135}
4136
4137bool cmSystemTools::CheckRPath(std::string const& file,
4138 std::string const& newRPath)

Callers

nothing calls this directly

Calls 3

RemoveRPathELFFunction · 0.85
RemoveRPathXCOFFFunction · 0.85
valueMethod · 0.80

Tested by

no test coverage detected