diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-28 21:03:52 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-28 21:03:52 (GMT) |
commit | 04280871698816e504320fea3e76a7add612ba31 (patch) | |
tree | 89b58f2483acc1001d04224b79cca8fb53fdd79f /Source/cmVersion.cxx | |
parent | 9789fe0ec2989d28880b43c4cebdaefc5bced753 (diff) | |
download | CMake-04280871698816e504320fea3e76a7add612ba31.zip CMake-04280871698816e504320fea3e76a7add612ba31.tar.gz CMake-04280871698816e504320fea3e76a7add612ba31.tar.bz2 |
ENH: add release candidate to versions
Diffstat (limited to 'Source/cmVersion.cxx')
-rw-r--r-- | Source/cmVersion.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmVersion.cxx b/Source/cmVersion.cxx index bc0421b..6e2fa17 100644 --- a/Source/cmVersion.cxx +++ b/Source/cmVersion.cxx @@ -59,7 +59,12 @@ std::string cmVersion::GetReleaseVersion() # 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 } |