The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
460 B
21 lines
460 B
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')
|
|
|