From 5a47650a5bdbffe5a877164857d40ae28babf6eb Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 22 Oct 2021 18:17:38 +0200 Subject: CMake: align the VERSION of the library with libtool practices Currently (at least as of 8.1.1) we don't have the same .so.x.y.z numbers for the libtool and cmake builds (the y and z are swapped for the cmake build). While only the SONAME (the .x part) mostly matters, it is probably better to stick with the libtool convention to determine the y and z. This patch should make it easier by setting explicitly each of the current, revision, age and computing automatically x = current - age y = age z = revision --- HOWTO-RELEASE | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'HOWTO-RELEASE') diff --git a/HOWTO-RELEASE b/HOWTO-RELEASE index cf3565c2..9005fd4b 100644 --- a/HOWTO-RELEASE +++ b/HOWTO-RELEASE @@ -51,8 +51,7 @@ the steps below to determine the next ABI version number: Update the following files with the new ABI version number: - `src/Makefile.am` Update -version-info - - `CMakeLists.txt`: Update PROJ_BUILD_VERSION (cur:rev:age) and - PROJ_API_VERSION (current-age) + - `CMakeLists.txt`: Update PROJ_LIBTOOL_CURRENT, PROJ_LIBTOOL_REVISON and PROJ_LIBTOOL_AGE *Commit the changes to master.* -- cgit v1.2.3