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.
13 lines
380 B
13 lines
380 B
8 years ago
|
project('D Shared Library', 'd')
|
||
|
|
||
|
if meson.get_compiler('d').get_id() != 'gcc'
|
||
|
|
||
|
ldyn = shared_library('stuff', 'libstuff.d', install : true)
|
||
|
ed = executable('app_d', 'app.d', link_with : ldyn, install : true)
|
||
|
test('linktest_dyn', ed)
|
||
|
|
||
|
else
|
||
|
message('GDC can not build shared libraries. Test skipped.')
|
||
|
install_data('no-installed-files', install_dir : '')
|
||
|
endif
|