aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-05-13 13:20:11 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-05-13 13:20:11 -0500
commit3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8 (patch)
tree2fcba34d8b4d083484c5d12e71222e7fb4b1d368 /meson.build
parentAdd CMake (diff)
downloadlocusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.tar
locusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.tar.gz
locusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.tar.bz2
locusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.tar.lz
locusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.tar.xz
locusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.tar.zst
locusts-3e83931fd2e47bc09fb4e9bebfcdf9246c7219f8.zip
Add versioning to CMake and Meson
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 174a582..7afb496 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project('locusts', 'c', version: '1.0.0', default_options: ['warning_level=3'])
source = 'include/locusts.h'
-lib = library('ocusts', source, install: true)
+lib = library('ocusts', source, install: true, version: meson.project_version(), soversion: '1')
project_dep =declare_dependency(include_directories: include_directories('include'))