vendored-meson/meson/test cases/d/5 mixed/meson.build
raw| 1 | project('Mixing C and D', 'd', 'c') |
| 2 | |
| 3 | ldyn = shared_library('stuff', 'libstuff.c', install : true) |
| 4 | ed = executable('appdc_d', 'app.d', link_with : ldyn, install : true) |
| 5 | test('linktest_cdyn', ed) |
| 6 | |
| 7 | lstatic = static_library('stuff', 'libstuff.c', install : true) |
| 8 | es = executable('appdc_s', 'app.d', link_with : lstatic, install : true) |
| 9 | test('linktest_cstatic', es) |