25 lines
1011 B
Meson
25 lines
1011 B
Meson
libmegapixels_sources = [
|
|
'findconfig.c',
|
|
]
|
|
|
|
|
|
# We use libtool-version numbers because it's easier to understand.
|
|
# Before making a release, the libruntime_so_*
|
|
# numbers should be modified. The components are of the form C:R:A.
|
|
# a) If binary compatibility has been broken (eg removed or changed interfaces)
|
|
# change to C+1:0:0.
|
|
# b) If interfaces have been changed or added, but binary compatibility has
|
|
# been preserved, change to C+1:0:A+1
|
|
# c) If the interface is the same as the previous version, change to C:R+1:A
|
|
libmegapixels_lt_c=1
|
|
libmegapixels_lt_r=0
|
|
libmegapixels_lt_a=0
|
|
|
|
libmegapixels_so_version = '@0@.@1@.@2@'.format((libmegapixels_lt_c - libmegapixels_lt_a),
|
|
libmegapixels_lt_a,
|
|
libmegapixels_lt_r)
|
|
|
|
libmegapixels = shared_library('libmegapixels', libmegapixels_sources,
|
|
version:libmegapixels_so_version,
|
|
install: true)
|