The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
363 B
16 lines
363 B
project('msvc dll versioning', 'c') |
|
|
|
cc = meson.get_compiler('c') |
|
|
|
# Test that MSVC creates foo-0.dll and bar.dll |
|
if cc.get_id() == 'msvc' |
|
shared_library('some', 'lib.c', |
|
version : '1.2.3', |
|
soversion : '0', |
|
install : true) |
|
|
|
shared_library('noversion', 'lib.c', |
|
install : true) |
|
else |
|
install_data('no-installed-files', install_dir : '') |
|
endif
|
|
|