Coverage Report

Created: 2026-02-09 06:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmCustomCommandLines.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 "cmCustomCommandLines.h"
4
5
cmCustomCommandLine cmMakeCommandLine(
6
  std::initializer_list<cm::string_view> ilist)
7
0
{
8
0
  cmCustomCommandLine commandLine;
9
0
  commandLine.reserve(ilist.size());
10
0
  for (cm::string_view cmd : ilist) {
11
0
    commandLine.emplace_back(cmd);
12
0
  }
13
0
  return commandLine;
14
0
}
15
16
cmCustomCommandLines cmMakeSingleCommandLine(
17
  std::initializer_list<cm::string_view> ilist)
18
0
{
19
0
  cmCustomCommandLines commandLines;
20
0
  commandLines.push_back(cmMakeCommandLine(ilist));
21
0
  return commandLines;
22
0
}