summaryrefslogtreecommitdiffstats
path: root/Source/cmRuntimeDependencyArchive.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-04-23 15:19:11 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-06-04 12:52:01 (GMT)
commit2ef3ea394f424bf2397878b00725b93ebe04c589 (patch)
tree8af040cd82162771cda213033da055d7fa2829e0 /Source/cmRuntimeDependencyArchive.cxx
parentb613e09778260c26c6323026dc2ccb980c102f3e (diff)
downloadCMake-2ef3ea394f424bf2397878b00725b93ebe04c589.zip
CMake-2ef3ea394f424bf2397878b00725b93ebe04c589.tar.gz
CMake-2ef3ea394f424bf2397878b00725b93ebe04c589.tar.bz2
file(GET_RUNTIME_DEPENDENCIES): Add undocumented RPATH_PREFIX option
Diffstat (limited to 'Source/cmRuntimeDependencyArchive.cxx')
-rw-r--r--Source/cmRuntimeDependencyArchive.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/cmRuntimeDependencyArchive.cxx b/Source/cmRuntimeDependencyArchive.cxx
index 57b4bd6..06246d1 100644
--- a/Source/cmRuntimeDependencyArchive.cxx
+++ b/Source/cmRuntimeDependencyArchive.cxx
@@ -354,9 +354,9 @@ bool cmRuntimeDependencyArchive::IsPostExcluded(const std::string& name) const
fileSearch(this->PostExcludeFiles)));
}
-void cmRuntimeDependencyArchive::AddResolvedPath(const std::string& name,
- const std::string& path,
- bool& unique)
+void cmRuntimeDependencyArchive::AddResolvedPath(
+ const std::string& name, const std::string& path, bool& unique,
+ std::vector<std::string> rpaths)
{
auto it = this->ResolvedPaths.emplace(name, std::set<std::string>{}).first;
unique = true;
@@ -367,6 +367,7 @@ void cmRuntimeDependencyArchive::AddResolvedPath(const std::string& name,
}
}
it->second.insert(path);
+ this->RPaths[path] = std::move(rpaths);
}
void cmRuntimeDependencyArchive::AddUnresolvedPath(const std::string& name)
@@ -390,3 +391,9 @@ const std::set<std::string>& cmRuntimeDependencyArchive::GetUnresolvedPaths()
{
return this->UnresolvedPaths;
}
+
+const std::map<std::string, std::vector<std::string>>&
+cmRuntimeDependencyArchive::GetRPaths() const
+{
+ return this->RPaths;
+}