summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2021-03-26 09:00:47 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2021-03-26 09:00:47 +0200
commit5afc8d918f2c084acd65027604868dfde43395cf (patch)
treecde635e5793ec5188b20da2c8a54a56747f2a334
parent52a534d024c824c9359b3b9ea605f4fbb719f1f8 (diff)
Add so version numbers to libraries
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
-rw-r--r--kms++/meson.build3
-rw-r--r--kms++util/meson.build3
-rw-r--r--meson.build1
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')