summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-07-08 00:59:41 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-07-08 00:59:41 +0800
commitbeaa6a8524ed39dda6af5057ab9016c07c92368d (patch)
tree5a06dee4e67fc4582933328e0fe889d5664a772f /CMakeLists.txt
parentee98496d5d7042d4aba10d822901aac6d3b85111 (diff)
parente43159f29e1bace3acd99ff927c689e9dc8c341f (diff)
downloadmobilebling-beaa6a8524ed39dda6af5057ab9016c07c92368d.tar.gz
mobilebling-beaa6a8524ed39dda6af5057ab9016c07c92368d.tar.bz2
Merge in lp:~smspillaz/compiz-core/compiz-core.dist-buildsystem and turn
CTest on by default for everything
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a08bf4..3544717 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,13 +15,10 @@ if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
endif (NOT CMAKE_BUILD_TYPE)
-# compiz package version number
-# An odd micro number indicates in-progress development.
-# An even micro number indicates a released version.
-set (COMPIZ_VERSION_MAJOR 0)
-set (COMPIZ_VERSION_MINOR 9)
-set (COMPIZ_VERSION_MICRO 5)
-set (VERSION ${COMPIZ_VERSION_MAJOR}.${COMPIZ_VERSION_MINOR}.${COMPIZ_VERSION_MICRO})
+file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0)
+string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION)
+
+set (VERSION ${COMPIZ_RELEASE_VERSION})
set (DECOR_INTERFACE_VERSION 20110504)
@@ -126,6 +123,9 @@ compiz_ensure_linkage ()
compiz_package_generation ("Compiz")
compiz_add_uninstall ()
compiz_add_git_dist ()
+compiz_add_distcheck ()
+compiz_add_release ()
+compiz_add_release_signoff ()
_print_configure_results ()