CMake Nightly Date Stamp
[kiteware-cmake.git] / Source / cmInstallGetRuntimeDependenciesGenerator.h
blob8e4e8cbe10631170fc5b26fc2512b9381181cb02
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #pragma once
5 #include <iosfwd>
6 #include <string>
7 #include <vector>
9 #include "cmInstallGenerator.h"
11 class cmListFileBacktrace;
12 class cmLocalGenerator;
13 class cmInstallRuntimeDependencySet;
15 class cmInstallGetRuntimeDependenciesGenerator : public cmInstallGenerator
17 public:
18 cmInstallGetRuntimeDependenciesGenerator(
19 cmInstallRuntimeDependencySet* runtimeDependencySet,
20 std::vector<std::string> directories,
21 std::vector<std::string> preIncludeRegexes,
22 std::vector<std::string> preExcludeRegexes,
23 std::vector<std::string> postIncludeRegexes,
24 std::vector<std::string> postExcludeRegexes,
25 std::vector<std::string> postIncludeFiles,
26 std::vector<std::string> postExcludeFiles, std::string libraryComponent,
27 std::string frameworkComponent, bool noInstallRPath, const char* depsVar,
28 const char* rpathPrefix, std::vector<std::string> const& configurations,
29 MessageLevel message, bool exclude_from_all,
30 cmListFileBacktrace backtrace);
32 bool Compute(cmLocalGenerator* lg) override;
34 protected:
35 void GenerateScript(std::ostream& os) override;
37 void GenerateScriptForConfig(std::ostream& os, const std::string& config,
38 Indent indent) override;
40 private:
41 cmInstallRuntimeDependencySet* RuntimeDependencySet;
42 std::vector<std::string> Directories;
43 std::vector<std::string> PreIncludeRegexes;
44 std::vector<std::string> PreExcludeRegexes;
45 std::vector<std::string> PostIncludeRegexes;
46 std::vector<std::string> PostExcludeRegexes;
47 std::vector<std::string> PostIncludeFiles;
48 std::vector<std::string> PostExcludeFiles;
49 std::string LibraryComponent;
50 std::string FrameworkComponent;
51 bool NoInstallRPath;
52 const char* DepsVar;
53 const char* RPathPrefix;
54 cmLocalGenerator* LocalGenerator = nullptr;