Commit 6c13b1b8 authored by partyd's avatar partyd
Browse files

ENH: Change version number to beta-r<svn-revision>.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15627 3bd1e089-480b-0410-8dfb-8563597acbee
parent 3145f889
...@@ -248,9 +248,17 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${Slicer_BINARY_DIR}/lib) ...@@ -248,9 +248,17 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${Slicer_BINARY_DIR}/lib)
SET(Slicer_VERSION_MAJOR "4") SET(Slicer_VERSION_MAJOR "4")
SET(Slicer_VERSION_MINOR "0") SET(Slicer_VERSION_MINOR "0")
IF(NOT Slicer_VERSION_PATCH) IF(NOT Slicer_VERSION_PATCH)
SET(Slicer_VERSION_PATCH "beta-1") SET(Slicer_VERSION_PATCH "beta")
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.svn)
Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} Slicer)
SET(Slicer_VERSION_PATCH "beta-r${Slicer_WC_REVISION}")
ENDIF()
ENDIF() ENDIF()
SET(Slicer_VERSION "${Slicer_VERSION_MAJOR}.${Slicer_VERSION_MINOR}") SET(Slicer_VERSION "${Slicer_VERSION_MAJOR}.${Slicer_VERSION_MINOR}")
SET(Slicer_VERSION_FULL "${Slicer_VERSION}.${Slicer_VERSION_PATCH}") SET(Slicer_VERSION_FULL "${Slicer_VERSION}.${Slicer_VERSION_PATCH}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment