/src/CMake/Source/cmBinUtilsLinuxELFGetRuntimeDependenciesTool.h
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst 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 | 0 | 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(std::string const& e); |
27 | | }; |