aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-01-22 21:03:30 +0100
committerSimon Ser <contact@emersion.fr>2020-01-24 11:17:03 +0100
commit1f722f5c800b1e422ffa480710d7af7c1e7dc0c4 (patch)
treec02a443fd9f6626baf781ee5ce4a905349df408a /include/wlr
parent70a084c119695c7d82b4e3a97c35555d0af91d62 (diff)
build: replace version with soversion
This allows us to have a single number to update when doing a release. This drops WLR_VERSION_API_* definitions.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/meson.build11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/wlr/meson.build b/include/wlr/meson.build
index 032c08d2..4e79d068 100644
--- a/include/wlr/meson.build
+++ b/include/wlr/meson.build
@@ -1,12 +1,9 @@
version_array = meson.project_version().split('.')
version_data = configuration_data()
-version_data.set_quoted('WLR_VERSION_STR', meson.project_version())
-version_data.set('WLR_VERSION_MAJOR', version_array[0])
-version_data.set('WLR_VERSION_MINOR', version_array[1])
-version_data.set('WLR_VERSION_MICRO', version_array[2])
-version_data.set('WLR_VERSION_API_CURRENT', so_version[0])
-version_data.set('WLR_VERSION_API_REVISION', so_version[1])
-version_data.set('WLR_VERSION_API_AGE', so_version[2])
+version_data.set_quoted('WLR_VERSION_STR', meson.project_version())
+version_data.set('WLR_VERSION_MAJOR', version_array[0])
+version_data.set('WLR_VERSION_MINOR', version_array[1])
+version_data.set('WLR_VERSION_MICRO', version_array[2])
conf_h = configure_file(
input: 'config.h.in',