From 5afc8d918f2c084acd65027604868dfde43395cf Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 26 Mar 2021 09:00:47 +0200 Subject: Add so version numbers to libraries Signed-off-by: Tomi Valkeinen --- kms++/meson.build | 3 ++- kms++util/meson.build | 3 ++- meson.build | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kms++/meson.build b/kms++/meson.build index fee1b54..ab11d63 100644 --- a/kms++/meson.build +++ b/kms++/meson.build @@ -71,7 +71,8 @@ libkmsxx = library('kms++', libkmsxx_sources, install : true, include_directories : private_includes, - dependencies : libkmsxx_deps) + dependencies : libkmsxx_deps, + version : meson.project_version()) libkmsxx_dep = declare_dependency(include_directories : public_includes, diff --git a/kms++util/meson.build b/kms++util/meson.build index 4105db6..9df75e1 100644 --- a/kms++util/meson.build +++ b/kms++util/meson.build @@ -41,7 +41,8 @@ libkmsxxutil = library('kms++util', install : true, include_directories : private_includes, dependencies : libkmsxxutil_deps, - cpp_args : libkmsxxutil_args) + cpp_args : libkmsxxutil_args, + version : meson.project_version()) libkmsxxutil_dep = declare_dependency(include_directories : public_includes, link_with : libkmsxxutil) diff --git a/meson.build b/meson.build index cdc8cab..1325a3f 100644 --- a/meson.build +++ b/meson.build @@ -2,6 +2,7 @@ project('kms++', 'cpp', default_options : [ 'cpp_std=c++17', ], + version: '0.0.0', ) cpp = meson.get_compiler('cpp') -- cgit v1.2.3