summaryrefslogtreecommitdiff
path: root/Source/cmBinUtilsWindowsPEGetRuntimeDependenciesTool.h
blob: da71aaabd8ceff14d65c5a0e5fd5fac3e885a8e3 (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
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */

#pragma once

#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);
};