cmake/Source/cmVersion.cxx

28 lines
558 B
C++
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmVersion.h"
2016-10-30 18:24:19 +01:00
#include "cmVersionConfig.h"
2016-07-09 11:21:54 +02:00
unsigned int cmVersion::GetMajorVersion()
{
return CMake_VERSION_MAJOR;
}
unsigned int cmVersion::GetMinorVersion()
{
return CMake_VERSION_MINOR;
}
unsigned int cmVersion::GetPatchVersion()
{
return CMake_VERSION_PATCH;
}
unsigned int cmVersion::GetTweakVersion()
{
return 0;
}
2009-10-04 10:30:41 +03:00
const char* cmVersion::GetCMakeVersion()
{
2010-06-23 01:18:35 +03:00
return CMake_VERSION;
}