| 1 |
project('foobar', 'c') |
| 2 |
|
| 3 |
win = import('windows') |
| 4 |
|
| 5 |
subdir('a') |
| 6 |
subdir('b') |
| 7 |
subdir('c') |
| 8 |
subdir('exe3') |
| 9 |
subdir('exe4') |
| 10 |
|
| 11 |
main = win.compile_resources('rsrc.rc') |
| 12 |
|
| 13 |
testa = executable('testa', 'verify.c', a) |
| 14 |
testb = executable('testb', 'verify.c', b) |
| 15 |
testc = executable('testc', 'verify.c', c) |
| 16 |
testmain = executable('testmain', 'verify.c', main) |
| 17 |
|
| 18 |
test('a', testa, args: 'a') |
| 19 |
test('b', testb, args: 'b') |
| 20 |
test('c', testc, args: 'c') |
| 21 |
test('main', testmain, args: 'main') |