summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-24 10:37:52 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-24 10:37:52 +0200
commit6484d942a25914a43135caf1f9c6ff54b228719e (patch)
tree0074e1750de6e906425b29bde65f2015302d6dcc /CMakeLists.txt
parenta449fa4b7c88787c480068fe00152d02b685dfd6 (diff)
downloadlibuca-6484d942a25914a43135caf1f9c6ff54b228719e.tar.gz
libuca-6484d942a25914a43135caf1f9c6ff54b228719e.tar.bz2
libuca-6484d942a25914a43135caf1f9c6ff54b228719e.tar.xz
libuca-6484d942a25914a43135caf1f9c6ff54b228719e.zip
Fix ABI versioning
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1452c4..7f65e9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,13 +2,18 @@ cmake_minimum_required(VERSION 2.8)
project(uca C)
set(TARNAME "libuca")
-set(UCA_VERSION_MAJOR "1")
-set(UCA_VERSION_MINOR "3")
-set(UCA_VERSION_PATCH "0dev")
set(UCA_DESCRIPTION "Unified Camera Access")
+# These are software release versions
+set(UCA_VERSION_MAJOR "1")
+set(UCA_VERSION_MINOR "3")
+set(UCA_VERSION_PATCH "0")
set(UCA_VERSION_STRING "${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}")
-set(UCA_ABI_VERSION "${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}")
+
+# Increase the ABI version when binary compatibility cannot be guaranteed, e.g.
+# symbols have been removed, function signatures, structures, constants etc.
+# changed.
+set(UCA_ABI_VERSION "2")
set(CPACK_PACKAGE_VERSION "${UCA_VERSION_STRING}")
set(CPACK_PACKAGE_NAME "${TARNAME}")