resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmBinUtilsLinuxELFGetRuntimeDependenciesTool.h
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3
4 #pragma once
5
6 #include <string>
7 #include <vector>
8
9 class cmRuntimeDependencyArchive;
10
11 class cmBinUtilsLinuxELFGetRuntimeDependenciesTool
12 {
13 public:
14   cmBinUtilsLinuxELFGetRuntimeDependenciesTool(
15     cmRuntimeDependencyArchive* archive);
16   virtual ~cmBinUtilsLinuxELFGetRuntimeDependenciesTool() = default;
17
18   virtual bool GetFileInfo(std::string const& file,
19                            std::vector<std::string>& needed,
20                            std::vector<std::string>& rpaths,
21                            std::vector<std::string>& runpaths) = 0;
22
23 protected:
24   cmRuntimeDependencyArchive* Archive;
25
26   void SetError(const std::string& e);
27 };