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.
14 lines
580 B
14 lines
580 B
10 years ago
|
project('extract all', 'c')
|
||
|
|
||
|
a = static_library('a', 'one.c', 'two.c')
|
||
|
b = static_library('b', 'three.c', 'four.c')
|
||
7 years ago
|
c = static_library('c', objects : [a.extract_all_objects(), b.extract_all_objects()])
|
||
7 years ago
|
d = static_library('d', objects : [a.extract_all_objects(), b.extract_all_objects(), c.extract_all_objects()])
|
||
|
d_recursive = static_library('d_recursive', objects : [c.extract_all_objects(recursive : true)])
|
||
10 years ago
|
|
||
7 years ago
|
e = executable('proggie', 'prog.c', link_with : d)
|
||
10 years ago
|
test('extall', e)
|
||
7 years ago
|
|
||
|
e = executable('proggie_recursive', 'prog.c', link_with : d_recursive)
|
||
|
test('extall_recursive', e)
|