| 1 |
project('objfw build tests', 'objcpp') |
| 2 |
|
| 3 |
if get_option('backend').startswith('vs') |
| 4 |
error('MESON_SKIP_TEST: objcpp is not supported by vs backend') |
| 5 |
endif |
| 6 |
|
| 7 |
objfw_dep = dependency('objfw', required: false) |
| 8 |
objfwtest_dep = dependency('objfw', modules: ['ObjFWTest'], required: false) |
| 9 |
|
| 10 |
if not objfw_dep.found() or not objfwtest_dep.found() |
| 11 |
error('MESON_SKIP_TEST: Need objfw dependency') |
| 12 |
endif |
| 13 |
|
| 14 |
executable('TestApplication', 'TestApplication.mm', |
| 15 |
dependencies: [objfw_dep]) |
| 16 |
|
| 17 |
executable('SimpleTest', 'SimpleTest.mm', |
| 18 |
dependencies: [objfwtest_dep]) |