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