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.
18 lines
434 B
18 lines
434 B
9 years ago
|
project('mingw dll versioning', 'c')
|
||
|
|
||
|
cc = meson.get_compiler('c')
|
||
|
|
||
|
# Test that MinGW/GCC creates correctly-named dll files and dll.a files,
|
||
|
# and also installs them in the right place
|
||
|
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
|