Coverage Report

Created: 2026-07-14 07:09

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmBinUtilsLinker.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
8
class cmRuntimeDependencyArchive;
9
10
namespace cm {
11
enum class TargetType;
12
} // namespace cm
13
14
class cmBinUtilsLinker
15
{
16
public:
17
  cmBinUtilsLinker(cmRuntimeDependencyArchive* archive);
18
0
  virtual ~cmBinUtilsLinker() = default;
19
20
0
  virtual bool Prepare() { return true; }
21
22
  virtual bool ScanDependencies(std::string const& file,
23
                                cm::TargetType type) = 0;
24
25
protected:
26
  cmRuntimeDependencyArchive* Archive;
27
28
  void SetError(std::string const& e);
29
30
  void NormalizePath(std::string& path) const;
31
};