/src/CMake/Source/cmInstallPackageInfoExportGenerator.cxx
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 | | #include "cmInstallPackageInfoExportGenerator.h" |
4 | | |
5 | | #include <utility> |
6 | | |
7 | | #include <cm/memory> |
8 | | |
9 | | #include "cmExportInstallFileGenerator.h" |
10 | | #include "cmExportInstallPackageInfoGenerator.h" |
11 | | #include "cmListFileCache.h" |
12 | | #include "cmPackageInfoArguments.h" |
13 | | |
14 | | class cmExportSet; |
15 | | |
16 | | cmInstallPackageInfoExportGenerator::cmInstallPackageInfoExportGenerator( |
17 | | cmExportSet* exportSet, std::string destination, std::string filePermissions, |
18 | | std::vector<std::string> const& configurations, std::string component, |
19 | | MessageLevel message, bool excludeFromAll, cmPackageInfoArguments arguments, |
20 | | std::string cxxModulesDirectory, cmListFileBacktrace backtrace) |
21 | 0 | : cmInstallExportGenerator( |
22 | 0 | exportSet, std::move(destination), std::move(filePermissions), |
23 | 0 | configurations, std::move(component), message, excludeFromAll, |
24 | 0 | arguments.GetPackageFileName(), arguments.GetNamespace(), |
25 | 0 | std::move(cxxModulesDirectory), std::move(backtrace)) |
26 | 0 | { |
27 | 0 | this->EFGen = cm::make_unique<cmExportInstallPackageInfoGenerator>( |
28 | 0 | this, std::move(arguments)); |
29 | 0 | } |
30 | | |
31 | 0 | cmInstallPackageInfoExportGenerator::~cmInstallPackageInfoExportGenerator() = |
32 | | default; |