diff options
Diffstat (limited to 'meson/test cases/d/5 mixed/meson.build')
-rw-r--r-- | meson/test cases/d/5 mixed/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/d/5 mixed/meson.build b/meson/test cases/d/5 mixed/meson.build new file mode 100644 index 000000000..3dad66d0c --- /dev/null +++ b/meson/test cases/d/5 mixed/meson.build @@ -0,0 +1,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) |