This is 1608.01

This commit is contained in:
Menche 2016-08-27 17:38:57 -07:00
parent fe5acc2029
commit 3ac3f431a2
1 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,9 @@ endif(${CMAKE_VERSION} STREQUAL "2.8.2")
project(voxelands)
# Also remember to set PROTOCOL_VERSION in clientserver.h when releasing
execute_process(COMMAND git log -1 --date=short --format=%cd-%h OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE VERSION_STRING)
set(VERSION_MAJOR 1608)
set(VERSION_MINOR 01)
set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}")
MESSAGE(STATUS "*** Will build version ${VERSION_STRING} ***")
# Configuration options
@ -117,7 +118,8 @@ add_subdirectory(src)
# CPack
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The Fun-Focused Free Software Voxel World Game")
set(CPACK_PACKAGE_VERSION_STRING ${VERSION_STRING})
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
set(CPACK_PACKAGE_VENDOR "darkrose")
set(CPACK_PACKAGE_CONTACT "Lisa 'darkrose' Milne <lisa@ltmnet.com>")