parent
28e491c706
commit
e36183aab4
6 changed files with 35 additions and 38 deletions
@ -1,25 +1,22 @@ |
||||
project('D library versions', 'd') |
||||
|
||||
if meson.get_compiler('d').get_id() == 'gcc' |
||||
message('GDC can not build shared libraries. Test skipped.') |
||||
install_data('no-installed-files', install_dir : '') |
||||
else |
||||
|
||||
shared_library('some', 'lib.d', |
||||
version : '1.2.3', |
||||
soversion : '0', |
||||
install : true) |
||||
error('MESON_SKIP_TEST: GDC can not build shared libraries') |
||||
endif |
||||
|
||||
shared_library('noversion', 'lib.d', |
||||
install : true) |
||||
shared_library('some', 'lib.d', |
||||
version : '1.2.3', |
||||
soversion : '0', |
||||
install : true) |
||||
|
||||
shared_library('onlyversion', 'lib.d', |
||||
version : '1.4.5', |
||||
install : true) |
||||
shared_library('noversion', 'lib.d', |
||||
install : true) |
||||
|
||||
shared_library('onlysoversion', 'lib.d', |
||||
# Also test that int soversion is acceptable |
||||
soversion : 5, |
||||
install : true) |
||||
shared_library('onlyversion', 'lib.d', |
||||
version : '1.4.5', |
||||
install : true) |
||||
|
||||
endif |
||||
shared_library('onlysoversion', 'lib.d', |
||||
# Also test that int soversion is acceptable |
||||
soversion : 5, |
||||
install : true) |
||||
|
Loading…
Reference in new issue