/src/CMake/Source/cmBinUtilsMacOSMachOGetRuntimeDependenciesTool.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 cmBinUtilsMacOSMachOGetRuntimeDependenciesTool |
12 | | { |
13 | | public: |
14 | | cmBinUtilsMacOSMachOGetRuntimeDependenciesTool( |
15 | | cmRuntimeDependencyArchive* archive); |
16 | 0 | virtual ~cmBinUtilsMacOSMachOGetRuntimeDependenciesTool() = default; |
17 | | |
18 | | virtual bool GetFileInfo(std::string const& file, |
19 | | std::vector<std::string>& libs, |
20 | | std::vector<std::string>& rpaths) = 0; |
21 | | |
22 | | protected: |
23 | | cmRuntimeDependencyArchive* Archive; |
24 | | |
25 | | void SetError(std::string const& error); |
26 | | }; |