summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-21 18:19:17 +0100
committerPetr Mrázek2012-02-21 18:19:17 +0100
commit2cd2ee9b0cc10b79f264c3a9a4597f59835fd419 (patch)
tree7d95cbe0b7abd5d42990a15ed8b8d801a08a48ad /CMakeLists.txt
parent0b9e849096c95d68c6235c266560a2fb58908151 (diff)
downloaddfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.gz
dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.bz2
dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.xz
New plugin interface
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b460822..a5bf2d12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,11 +26,14 @@ endif()
# set up versioning.
set(DF_VERSION_MAJOR "0")
-set(DF_VERSION_MINOR "31")
-set(DF_VERSION_PATCH "25")
+set(DF_VERSION_MINOR "34")
+set(DF_VERSION_PATCH "02")
set(DF_VERSION "${DF_VERSION_MAJOR}.${DF_VERSION_MINOR}.${DF_VERSION_PATCH}")
-set(DFHACK_RELEASE "9b")
+set(DFHACK_RELEASE "1")
+
+set(DFHACK_VERSION "${DF_VERSION_MAJOR}.${DF_VERSION_MINOR}.${DF_VERSION_PATCH}-r${DFHACK_RELEASE}")
+add_definitions(-DDFHACK_VERSION="${DFHACK_VERSION}")
## where to install things (after the build is done, classic 'make install' or package structure)
# the dfhack libraries will be installed here:
@@ -99,5 +102,5 @@ ELSEIF(WIN32)
SET(CPACK_GENERATOR "ZIP")
ENDIF()
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
-set(CPACK_PACKAGE_FILE_NAME "dfhack-${DF_VERSION}-r${DFHACK_RELEASE}-${CMAKE_SYSTEM_NAME}")
+set(CPACK_PACKAGE_FILE_NAME "dfhack-${DFHACK_VERSION}-${CMAKE_SYSTEM_NAME}")
INCLUDE(CPack)