Debian Codegraph @

test cases/common/81 extract all/meson.build

raw
1 project('extract all', 'c')
2
3 a = static_library('a', 'one.c', 'two.c')
4 b = static_library('b', 'three.c', 'four.c')
5 c = static_library('c', objects : [a.extract_all_objects(), b.extract_all_objects()])
6 d = static_library('d', objects : [a.extract_all_objects(), b.extract_all_objects(), c.extract_all_objects()])
7 d_recursive = static_library('d_recursive', objects : [c.extract_all_objects(recursive : true)])
8
9 e = executable('proggie', 'prog.c', link_with : d)
10 test('extall', e)
11
12 e = executable('proggie_recursive', 'prog.c', link_with : d_recursive)
13 test('extall_recursive', e)