| 1 |
project('dub') |
| 2 |
|
| 3 |
if not add_languages('d', required: false) |
| 4 |
error('MESON_SKIP_TEST test requires D compiler') |
| 5 |
endif |
| 6 |
|
| 7 |
if meson.get_compiler('d').get_id() == 'dmd' |
| 8 |
if host_machine.system() == 'windows' or host_machine.system() == 'cygwin' |
| 9 |
error('MESON_SKIP_TEST Windows test environment lacks multiple D compilers.') |
| 10 |
endif |
| 11 |
endif |
| 12 |
|
| 13 |
if not find_program('dub', required: false).found() |
| 14 |
error('MESON_SKIP_TEST test requires dub') |
| 15 |
endif |
| 16 |
|
| 17 |
dependency('dubtestproject:test2', method: 'dub') # Compiler mismatch |