Coverage Report

Created: 2026-06-15 07:03

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmBuildSbomGenerator.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 "cmBuildSbomGenerator.h"
4
5
#include "cmGeneratedFileStream.h"
6
#include "cmStringAlgorithms.h"
7
8
void cmBuildSbomGenerator::Compute(cmLocalGenerator* lg)
9
0
{
10
0
  this->Builder->Compute(lg);
11
0
}
12
13
bool cmBuildSbomGenerator::GenerateForBuild(std::string const& config)
14
0
{
15
0
  cmGeneratedFileStream os(
16
0
    cmStrCat(this->OutputFile, "-", config, ".spdx.json"));
17
0
  return this->Builder->Generate(os, config);
18
0
}