summaryrefslogtreecommitdiff
path: root/Source/cmBinUtilsWindowsPEGetRuntimeDependenciesTool.h
blob: e9e402b0f10ba54c6b468a7738b5b8caa5e394ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */

#ifndef cmBinUtilsWindowsPEGetRuntimeDependenciesTool_h
#define cmBinUtilsWindowsPEGetRuntimeDependenciesTool_h

#include <string>
#include <vector>

class cmRuntimeDependencyArchive;

class cmBinUtilsWindowsPEGetRuntimeDependenciesTool
{
public:
  cmBinUtilsWindowsPEGetRuntimeDependenciesTool(
    cmRuntimeDependencyArchive* archive);
  virtual ~cmBinUtilsWindowsPEGetRuntimeDependenciesTool() = default;

  virtual bool GetFileInfo(const std::string& file,
                           std::vector<std::string>& needed) = 0;

protected:
  cmRuntimeDependencyArchive* Archive;

  void SetError(const std::string& error);
};

#endif // cmBinUtilsWindowsPEGetRuntimeDependenciesTool_h