blob: 3dad66d0ca384c3f05aaed5331eb084fe03f67ba (
plain)
1
2
3
4
5
6
7
8
9
|
project('Mixing C and D', 'd', 'c')
ldyn = shared_library('stuff', 'libstuff.c', install : true)
ed = executable('appdc_d', 'app.d', link_with : ldyn, install : true)
test('linktest_cdyn', ed)
lstatic = static_library('stuff', 'libstuff.c', install : true)
es = executable('appdc_s', 'app.d', link_with : lstatic, install : true)
test('linktest_cstatic', es)
|