From 8e7afaa2c00046e1144702d64afa7db911aed4d6 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Tue, 5 Dec 2006 10:49:04 +0000 Subject: [PATCH] forgot this file --- VERSION.cmake | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 VERSION.cmake diff --git a/VERSION.cmake b/VERSION.cmake new file mode 100644 index 0000000..11a28b5 --- /dev/null +++ b/VERSION.cmake @@ -0,0 +1,50 @@ +# ================================================== +# Versioning +# ========== +# +# MAJOR Major number for this branch. +# +# MINOR The most recent interface number this +# library implements. +# +# COMPATMINOR The latest binary compatible minor number +# this library implements. +# +# PATCH The implementation number of the current interface. +# +# +# - The package VERSION will be MAJOR.MINOR.PATCH. +# +# - Libtool's -version-info will be derived from MAJOR, MINOR, PATCH +# and COMPATMINOR (see configure.ac). +# +# - Changing MAJOR always breaks binary compatibility. +# +# - Changing MINOR doesn't break binary compatibility by default. +# Only if COMPATMINOR is changed as well. +# +# +# 1) After branching from TRUNK increment TRUNKs MAJOR and +# start with version `MAJOR.0.0' and also set COMPATMINOR to 0. +# +# 2) Update the version information only immediately before a public release +# of your software. More frequent updates are unnecessary, and only guarantee +# that the current interface number gets larger faster. +# +# 3) If the library source code has changed at all since the last update, +# then increment PATCH. +# +# 4) If any interfaces have been added, removed, or changed since the last +# update, increment MINOR, and set PATCH to 0. +# +# 5) If any interfaces have been added since the last public release, then +# leave COMPATMINOR unchanged. (binary compatible change) +# +# 6) If any interfaces have been removed since the last public release, then +# set COMPATMINOR to MINOR. (binary incompatible change) +# + +SET(LIBZYPP_MAJOR "2") +SET(LIBZYPP_MINOR "8") +SET(LIBZYPP_COMPATMINOR "8") +SET(LIBZYPP_PATCH "7") -- 2.7.4