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