added beta release support

This commit is contained in:
Ken Martin 2003-08-11 14:45:16 -04:00
parent 3c1292a388
commit 3baca1e34f
1 changed files with 4 additions and 0 deletions

View File

@ -73,9 +73,13 @@ const char* cmMakefile::GetReleaseVersion()
{
#if CMake_VERSION_MINOR & 1
return "development";
#else
# if CMake_VERSION_PATCH == 0
return "beta";
# else
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
# endif
#endif
}
unsigned int cmMakefile::GetCacheMajorVersion()