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