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. */
|
2008-10-12 18:41:06 +02:00
|
|
|
#include "cmVersion.h"
|
|
|
|
|
2016-10-30 18:24:19 +01:00
|
|
|
#include "cmVersionConfig.h"
|
2008-10-12 18:41:06 +02:00
|
|
|
|
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;
|
|
|
|
}
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2009-10-04 10:30:41 +03:00
|
|
|
const char* cmVersion::GetCMakeVersion()
|
2008-10-12 18:41:06 +02:00
|
|
|
{
|
2010-06-23 01:18:35 +03:00
|
|
|
return CMake_VERSION;
|
2008-10-12 18:41:06 +02:00
|
|
|
}
|