Coverage Report

Created: 2026-03-12 06:35

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmVersion.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 "cmVersion.h"
4
5
#include "cmVersionConfig.h"
6
7
unsigned int cmVersion::GetMajorVersion()
8
1
{
9
1
  return CMake_VERSION_MAJOR;
10
1
}
11
unsigned int cmVersion::GetMinorVersion()
12
1
{
13
1
  return CMake_VERSION_MINOR;
14
1
}
15
unsigned int cmVersion::GetPatchVersion()
16
1
{
17
1
  return CMake_VERSION_PATCH;
18
1
}
19
unsigned int cmVersion::GetTweakVersion()
20
1
{
21
1
  return 0;
22
1
}
23
24
char const* cmVersion::GetCMakeVersion()
25
1
{
26
1
  return CMake_VERSION;
27
1
}