From 6484d942a25914a43135caf1f9c6ff54b228719e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 24 Jul 2013 10:37:52 +0200 Subject: Fix ABI versioning --- CMakeLists.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') 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}") -- cgit v1.2.3