1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
9 #include "cmBinUtilsLinker.h"
10 #include "cmBinUtilsWindowsPEGetRuntimeDependenciesTool.h"
11 #include "cmStateTypes.h"
13 class cmRuntimeDependencyArchive;
15 class cmBinUtilsWindowsPELinker : public cmBinUtilsLinker
18 cmBinUtilsWindowsPELinker(cmRuntimeDependencyArchive* archive);
20 bool Prepare() override;
22 bool ScanDependencies(std::string const& file,
23 cmStateEnums::TargetType type) override;
26 std::unique_ptr<cmBinUtilsWindowsPEGetRuntimeDependenciesTool> Tool;
28 bool ResolveDependency(std::string const& name, std::string const& origin,
29 std::string& path, bool& resolved);