diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-28 21:09:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-28 21:09:21 (GMT) |
commit | e9a80cd8a90c3309d32df58b27dcc6e061f5928f (patch) | |
tree | ca78db84211047437136013246df896e91ae13fb /Source/cmMakefile.cxx | |
parent | 07fe0176d20144e3a6331a1d41d2798732b1a647 (diff) | |
download | CMake-e9a80cd8a90c3309d32df58b27dcc6e061f5928f.zip CMake-e9a80cd8a90c3309d32df58b27dcc6e061f5928f.tar.gz CMake-e9a80cd8a90c3309d32df58b27dcc6e061f5928f.tar.bz2 |
ENH: add rc to version stuff
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 54a778f..488c41c 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -138,11 +138,16 @@ const char* cmMakefile::GetReleaseVersion() #if CMake_VERSION_MINOR & 1 return "development"; #else -# if CMake_VERSION_PATCH == 0 - return "beta"; +# if CMake_VERSION_PATCH == 1 + return "1-beta"; # else +# ifdef CMake_VERSION_RC + return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH) " RC-" + CMAKE_TO_STRING(CMake_VERSION_RC); +# else return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH); # endif +# endif #endif } |