resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmBinUtilsMacOSMachOGetRuntimeDependenciesTool.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 cmBinUtilsMacOSMachOGetRuntimeDependenciesTool
12 {
13 public:
14   cmBinUtilsMacOSMachOGetRuntimeDependenciesTool(
15     cmRuntimeDependencyArchive* archive);
16   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(const std::string& error);
26 };