2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2004-10-22 23:44:54 +04:00
|
|
|
#include "cmVersion.h"
|
|
|
|
|
2016-08-17 02:08:13 +03:00
|
|
|
#include "cmVersionConfig.h"
|
2007-11-15 05:17:53 +03:00
|
|
|
|
2016-05-16 17:34:04 +03: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;
|
|
|
|
}
|
2004-10-22 23:44:54 +04:00
|
|
|
|
2009-03-05 23:17:07 +03:00
|
|
|
const char* cmVersion::GetCMakeVersion()
|
2004-10-22 23:44:54 +04:00
|
|
|
{
|
2010-04-23 17:44:23 +04:00
|
|
|
return CMake_VERSION;
|
2004-10-22 23:44:54 +04:00
|
|
|
}
|