mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
17 lines
443 B
C++
17 lines
443 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file LICENSE.rst or https://cmake.org/licensing for details. */
|
|
#include "cmBuildSbomGenerator.h"
|
|
|
|
#include "cmGeneratedFileStream.h"
|
|
|
|
void cmBuildSbomGenerator::Compute(cmLocalGenerator* lg)
|
|
{
|
|
this->Builder->Compute(lg);
|
|
}
|
|
|
|
bool cmBuildSbomGenerator::GenerateForBuild()
|
|
{
|
|
cmGeneratedFileStream os(this->OutputFile);
|
|
return this->Builder->Generate(os);
|
|
}
|